forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge autoland to mozilla-central. a=merge
- Loading branch information
Showing
159 changed files
with
2,212 additions
and
1,112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4130,50 +4130,6 @@ BrowserGlue.prototype = { | |
lazy.UrlbarPrefs.migrateResultGroups(); | ||
} | ||
|
||
if (currentUIVersion < 119 && AppConstants.NIGHTLY_BUILD) { | ||
// Uninstall outdated monochromatic themes for the following UI versions: | ||
// 118: Uninstall prototype monochromatic purple theme. | ||
// 119 (bug 1732957): Uninstall themes with old IDs. | ||
const themeIdsToMigrate = [ | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
]; | ||
try { | ||
for (let id of themeIdsToMigrate) { | ||
lazy.AddonManager.getAddonByID(id).then(addon => { | ||
if (!addon) { | ||
// Either the addon wasn't installed, or the call to getAddonByID failed. | ||
return; | ||
} | ||
addon.uninstall().catch(Cu.reportError); | ||
}, Cu.reportError); | ||
} | ||
} catch (error) { | ||
Cu.reportError( | ||
"Could not access the AddonManager to upgrade the profile. This is most " + | ||
"likely because the upgrader is being run from an xpcshell test where " + | ||
"the AddonManager is not initialized." | ||
); | ||
} | ||
} | ||
|
||
if (currentUIVersion < 120) { | ||
// Migrate old titlebar bool pref to new int-based one. | ||
const oldPref = "browser.tabs.drawInTitlebar"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.