Bug 1005868 - Remove the needless migration code for 'browser.tabs.onTop'. r=dao

This commit is contained in:
Tetsuharu OHZEKI 2014-05-06 05:17:20 +09:00
Родитель 28b75bf5ec
Коммит 0b2ab77a19
1 изменённых файлов: 0 добавлений и 15 удалений

Просмотреть файл

@ -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");