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 111961 931e44f7f78b8862aca18f978fbfe94413e03e69
parent 111960 97ef51f7f37a1dae8da2895bf53fd56d3d5240e3
child 111962 a306ea0502f7d2e01d0950fddde6637bbfa00351
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersjdm
bugs806735, 679784
milestone19.0a1
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);