Backed out changeset dec7cb09336e (bug 1369539) for test_uistate.js failures a=backout
authorWes Kocher <wkocher@mozilla.com>
Mon, 10 Jul 2017 16:51:15 -0700
changeset 368161 ab47a6ff213af129cb4e78828c8b02c23fb9f784
parent 368160 bb72ca2f5fe4b3020481921a21edfbc13569d100
child 368162 bcd68590532381e9f31da50950eb542719576382
push id32158
push usercbook@mozilla.com
push dateTue, 11 Jul 2017 10:48:59 +0000
treeherdermozilla-central@5e2692f8a367 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1369539
milestone56.0a1
backs outdec7cb09336ee273f362ce0550a36ef70d5202d3
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
Backed out changeset dec7cb09336e (bug 1369539) for test_uistate.js failures a=backout MozReview-Commit-ID: 4SBjyEI1v6q
browser/base/content/browser.js
browser/base/content/test/performance/browser_startup.js
services/sync/modules/UIState.jsm
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -1633,19 +1633,17 @@ var gBrowserInit = {
     FullScreen.init();
     PointerLock.init();
 
     if (AppConstants.isPlatformAndVersionAtLeast("win", "10")) {
       ContextMenuTouchModeObserver.init();
     }
 
     // initialize the sync UI
-    requestIdleCallback(() => {
-      gSync.init();
-    }, {timeout: 1000 * 5});
+    gSync.init();
 
     if (AppConstants.MOZ_DATA_REPORTING)
       gDataNotificationInfoBar.init();
 
     gBrowserThumbnails.init();
 
     gExtensionsNotifications.init();
 
--- a/browser/base/content/test/performance/browser_startup.js
+++ b/browser/base/content/test/performance/browser_startup.js
@@ -87,18 +87,16 @@ const startupPhases = {
     ])
   }},
 
   // We are at this phase once we are ready to handle user events.
   // Anything loaded at this phase or before gets in the way of the user
   // interacting with the first browser window.
   "before handling user events": {blacklist: {
     modules: new Set([
-      "resource://gre/modules/FxAccounts.jsm",
-      "resource://gre/modules/FxAccountsStorage.jsm",
       "resource://gre/modules/LoginManagerContextMenu.jsm",
       "resource://gre/modules/Task.jsm",
     ]),
   }},
 };
 
 function test() {
   if (!AppConstants.NIGHTLY_BUILD && !AppConstants.DEBUG) {
--- a/services/sync/modules/UIState.jsm
+++ b/services/sync/modules/UIState.jsm
@@ -67,19 +67,16 @@ const UIStateInternal = {
       this.init();
       return false;
     }
     return true;
   },
 
   init() {
     this._initialized = true;
-    if (!Services.prefs.prefHasUserValue("services.sync.username")) {
-      return;
-    }
     // Refresh the state in the background.
     this.refreshState().catch(e => {
       Cu.reportError(e);
     });
   },
 
   // Used for testing.
   reset() {