mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 806734 - Remove the final global PB specific stuff from test_bug248970.js; r=jdm
This commit is contained in:
parent
a329381db8
commit
7eaf7c37cb
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user