refactor: move WaterfoxGlue initialization earlier in startup
This commit is contained in:
@@ -401,6 +401,8 @@ BrowserGlue.prototype = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
lazy.DesktopActorRegistry.init();
|
lazy.DesktopActorRegistry.init();
|
||||||
|
|
||||||
|
WaterfoxGlue.init();
|
||||||
},
|
},
|
||||||
|
|
||||||
// cleanup (called on application shutdown)
|
// cleanup (called on application shutdown)
|
||||||
@@ -430,8 +432,6 @@ BrowserGlue.prototype = {
|
|||||||
_beforeUIStartup: function BG__beforeUIStartup() {
|
_beforeUIStartup: function BG__beforeUIStartup() {
|
||||||
lazy.SessionStartup.init();
|
lazy.SessionStartup.init();
|
||||||
|
|
||||||
WaterfoxGlue.init();
|
|
||||||
|
|
||||||
// check if we're in safe mode
|
// check if we're in safe mode
|
||||||
if (Services.appinfo.inSafeMode) {
|
if (Services.appinfo.inSafeMode) {
|
||||||
Services.ww.openWindow(
|
Services.ww.openWindow(
|
||||||
|
|||||||
Reference in New Issue
Block a user