Bug 648683 - Expose tabs on-demand preference; r=dietrich+gavin, a=broken-merge AURORA_BASE_20110816
authorTim Taubert <tim.taubert@gmx.de>
Tue, 16 Aug 2011 18:59:51 +0200
changeset 75388 41b84b87c816403e1b74963d8094cff0406c989e
parent 75387 9967f28c64e183bd85ae5f761c3ab2d8cb5adbc3
child 75389 5c1add9cd9d71cf72ca22375b650ee21878ba143
push id21013
push usertim.taubert@gmx.de
push dateTue, 16 Aug 2011 17:01:11 +0000
treeherdermozilla-central@41b84b87c816 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdietrich, broken-merge
bugs648683
milestone8.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
Bug 648683 - Expose tabs on-demand preference; r=dietrich+gavin, a=broken-merge
browser/components/sessionstore/test/browser/browser_595601-restore_hidden.js
--- a/browser/components/sessionstore/test/browser/browser_595601-restore_hidden.js
+++ b/browser/components/sessionstore/test/browser/browser_595601-restore_hidden.js
@@ -14,22 +14,19 @@ let state = {windows:[{tabs:[
   {entries:[{url:"http://example.com#7"}], hidden: true},
   {entries:[{url:"http://example.com#8"}], hidden: true}
 ]}]};
 
 function test() {
   waitForExplicitFinish();
 
   registerCleanupFunction(function () {
-    Services.prefs.clearUserPref("browser.sessionstore.max_concurrent_tabs");
     Services.prefs.clearUserPref("browser.sessionstore.restore_hidden_tabs");
   });
 
-  Services.prefs.setIntPref("browser.sessionstore.max_concurrent_tabs", 3);
-
   // First stage: restoreHiddenTabs = true
   // Second stage: restoreHiddenTabs = false
   test_loadTabs(true, function () {
     test_loadTabs(false, finish);
   });
 }
 
 function test_loadTabs(restoreHiddenTabs, callback) {