mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 871363 - Rename nsBrowserGlue's _onProfileStartup to _finalUIStartup to clarify when it actually is called. r=dao
This commit is contained in:
parent
714d3f1530
commit
ab37ea3659
@ -168,7 +168,7 @@ BrowserGlue.prototype = {
|
||||
this._onAppDefaults();
|
||||
break;
|
||||
case "final-ui-startup":
|
||||
this._onProfileStartup();
|
||||
this._finalUIStartup();
|
||||
break;
|
||||
case "browser-delayed-startup-finished":
|
||||
this._onFirstWindowLoaded();
|
||||
@ -388,12 +388,13 @@ BrowserGlue.prototype = {
|
||||
|
||||
_onAppDefaults: function BG__onAppDefaults() {
|
||||
// apply distribution customizations (prefs)
|
||||
// other customizations are applied in _onProfileStartup()
|
||||
// other customizations are applied in _finalUIStartup()
|
||||
this._distributionCustomizer.applyPrefDefaults();
|
||||
},
|
||||
|
||||
// profile startup handler (contains profile initialization routines)
|
||||
_onProfileStartup: function BG__onProfileStartup() {
|
||||
// runs on startup, before the first command line handler is invoked
|
||||
// (i.e. before the first window is opened)
|
||||
_finalUIStartup: function BG__finalUIStartup() {
|
||||
this._sanitizer.onStartup();
|
||||
// check if we're in safe mode
|
||||
if (Services.appinfo.inSafeMode) {
|
||||
|
Loading…
Reference in New Issue
Block a user