author | Gavin Sharp <gavin@gavinsharp.com> |
Mon, 03 Nov 2014 14:42:10 -0800 | |
changeset 213973 | 1e99e10579d23b3372956add8650212c5169f80b |
parent 213972 | 68fe119fa995f77106e45cb0c616d1fb29687b19 |
child 213974 | 336e63f959ef08f6cd9dcc2296aa7ee5588a8ca3 |
push id | 27769 |
push user | kwierso@gmail.com |
push date | Wed, 05 Nov 2014 03:53:35 +0000 |
treeherder | mozilla-central@62990ec7ad78 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | dolske |
bugs | 1092808 |
milestone | 36.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/browser/components/nsBrowserGlue.js +++ b/browser/components/nsBrowserGlue.js @@ -497,19 +497,16 @@ BrowserGlue.prototype = { this._isPlacesShutdownObserver = true; os.addObserver(this, "handle-xul-text-link", false); os.addObserver(this, "profile-before-change", false); #ifdef MOZ_SERVICES_HEALTHREPORT os.addObserver(this, "keyword-search", false); #endif os.addObserver(this, "browser-search-engine-modified", false); os.addObserver(this, "browser-search-service", false); -#ifdef NIGHTLY_BUILD - Services.prefs.addObserver(POLARIS_ENABLED, this, false); -#endif }, // cleanup (called on application shutdown) _dispose: function BG__dispose() { let os = Services.obs; os.removeObserver(this, "prefservice:after-app-defaults"); os.removeObserver(this, "final-ui-startup"); os.removeObserver(this, "sessionstore-windows-restored"); @@ -596,16 +593,20 @@ BrowserGlue.prototype = { FormValidationHandler.init(); ContentClick.init(); RemotePrompt.init(); ContentPrefServiceParent.init(); LoginManagerParent.init(); +#ifdef NIGHTLY_BUILD + Services.prefs.addObserver(POLARIS_ENABLED, this, false); +#endif + Services.obs.notifyObservers(null, "browser-ui-startup-complete", ""); }, _checkForOldBuildUpdates: function () { // check for update if our build is old if (Services.prefs.getBoolPref("app.update.enabled") && Services.prefs.getBoolPref("app.update.checkInstallTime")) {