mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1005868 - Remove the needless migration code for 'browser.tabs.onTop'. r=dao
This commit is contained in:
parent
af68b863a9
commit
aec31277e1
@ -1407,19 +1407,6 @@ BrowserGlue.prototype = {
|
||||
}
|
||||
}
|
||||
|
||||
if (currentUIVersion < 6) {
|
||||
// convert tabsontop attribute to pref
|
||||
let toolboxResource = this._rdf.GetResource(BROWSER_DOCURL + "navigator-toolbox");
|
||||
let tabsOnTopResource = this._rdf.GetResource("tabsontop");
|
||||
let tabsOnTopAttribute = this._getPersist(toolboxResource, tabsOnTopResource);
|
||||
if (tabsOnTopAttribute)
|
||||
Services.prefs.setBoolPref("browser.tabs.onTop", tabsOnTopAttribute == "true");
|
||||
}
|
||||
|
||||
// Migration at version 7 only occurred for users who wanted to try the new
|
||||
// Downloads Panel feature before its release. Since migration at version
|
||||
// 9 adds the button by default, this step has been removed.
|
||||
|
||||
if (currentUIVersion < 8) {
|
||||
// Reset homepage pref for users who have it set to google.com/firefox
|
||||
let uri = Services.prefs.getComplexValue("browser.startup.homepage",
|
||||
@ -1512,8 +1499,6 @@ BrowserGlue.prototype = {
|
||||
OS.File.remove(path);
|
||||
}
|
||||
|
||||
// Version 15 was obsoleted in favour of 18.
|
||||
|
||||
if (currentUIVersion < 16) {
|
||||
let toolbarResource = this._rdf.GetResource(BROWSER_DOCURL + "nav-bar");
|
||||
let collapsedResource = this._rdf.GetResource("collapsed");
|
||||
|
Loading…
Reference in New Issue
Block a user