зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1367450 - Defer initialization of CaptivePortalWatcher to just before completion of delayed startup. r=florian
MozReview-Commit-ID: I9NKOYEYc5g --HG-- extra : rebase_source : 156974e79c638bbbd2d6fc73ee9bde3490f2028f
This commit is contained in:
Родитель
b02794c62d
Коммит
6e982ab4d4
|
@ -62,9 +62,9 @@ var CaptivePortalWatcher = {
|
|||
if (windows.getNext() == window && !windows.hasMoreElements()) {
|
||||
this.ensureCaptivePortalTab();
|
||||
}
|
||||
} else if (cps.state == cps.UNKNOWN) {
|
||||
cps.recheckCaptivePortal();
|
||||
}
|
||||
|
||||
cps.recheckCaptivePortal();
|
||||
},
|
||||
|
||||
uninit() {
|
||||
|
|
|
@ -1274,7 +1274,6 @@ var gBrowserInit = {
|
|||
AboutPrivateBrowsingListener.init();
|
||||
TrackingProtection.init();
|
||||
RefreshBlocker.init();
|
||||
CaptivePortalWatcher.init();
|
||||
FullZoomUI.init(window);
|
||||
|
||||
let mm = window.getGroupMessageManager("browsers");
|
||||
|
@ -1717,6 +1716,8 @@ var gBrowserInit = {
|
|||
}
|
||||
});
|
||||
|
||||
CaptivePortalWatcher.init();
|
||||
|
||||
this.delayedStartupFinished = true;
|
||||
|
||||
_resolveDelayedStartup();
|
||||
|
|
Загрузка…
Ссылка в новой задаче