mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 00:31:27 +00:00
Bug 1132031 - fix test to actually enforce in-content-prefs, r=florian
This commit is contained in:
parent
485ca4e7c6
commit
1a1690ef6c
@ -6,6 +6,8 @@ Components.utils.import("resource://gre/modules/NetUtil.jsm");
|
||||
|
||||
function test() {
|
||||
waitForExplicitFinish();
|
||||
Services.prefs.setBoolPref("browser.preferences.inContent", true);
|
||||
registerCleanupFunction(() => Services.prefs.clearUserPref("browser.preferences.inContent"));
|
||||
|
||||
// Setup a phony handler to ensure the app pane will be populated.
|
||||
var handler = Cc["@mozilla.org/uriloader/web-handler-app;1"].
|
||||
|
Loading…
x
Reference in New Issue
Block a user