Bug 806734 - Remove the final global PB specific stuff from test_bug248970.js; r=jdm

This commit is contained in:
Ehsan Akhgari 2012-10-30 17:46:01 -04:00
parent a329381db8
commit 7eaf7c37cb

View File

@ -3,10 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
function run_test() {
var prefBranch = Cc["@mozilla.org/preferences-service;1"].
getService(Ci.nsIPrefBranch);
prefBranch.setBoolPref("browser.privatebrowsing.keep_current_session", true);
let loadContext = { get usePrivateBrowsing() { return gInPrivateBrowsing; } };
ContentPrefTest.deleteDatabase();
@ -43,6 +39,4 @@ function run_test() {
} catch (e) {
do_throw("Unexpected exception: " + e);
}
prefBranch.clearUserPref("browser.privatebrowsing.keep_current_session");
}