Bug 806735 - Remove the final global PB specific stuff from test_bug679784.js; r=jdm
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 30 Oct 2012 17:46:43 -0400
changeset 111829 931e44f7f78b8862aca18f978fbfe94413e03e69
parent 111828 97ef51f7f37a1dae8da2895bf53fd56d3d5240e3
child 111830 a306ea0502f7d2e01d0950fddde6637bbfa00351
push id23776
push useremorley@mozilla.com
push dateWed, 31 Oct 2012 14:08:00 +0000
treeherdermozilla-central@3393586a210b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdm
bugs806735, 679784
milestone19.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 806735 - Remove the final global PB specific stuff from test_bug679784.js; r=jdm
toolkit/components/contentprefs/tests/unit/test_bug679784.js
--- a/toolkit/components/contentprefs/tests/unit/test_bug679784.js
+++ b/toolkit/components/contentprefs/tests/unit/test_bug679784.js
@@ -10,20 +10,16 @@ var prefObserver = {
     },
     removedCalledNum: 0,
     onContentPrefRemoved: function(aGroup, aName) {
         this.removedCalledNum++;
     }
 };
 
 function run_test() {
-  Cc["@mozilla.org/preferences-service;1"].
-    getService(Ci.nsIPrefBranch).
-      setBoolPref("browser.privatebrowsing.keep_current_session", true);
-  
   let loadContext = { get usePrivateBrowsing() { return gInPrivateBrowsing; } };
 
   var cps = new ContentPrefInstance(loadContext);
   cps.removeGroupedPrefs();
 
   var uri = ContentPrefTest.getURI("http://www.example.com/");
   var group = cps.grouper.group(uri);