Bug 1132031 - fix test to actually enforce in-content-prefs, r=florian

This commit is contained in:
Gijs Kruitbosch 2015-02-11 14:57:36 +00:00
parent 485ca4e7c6
commit 1a1690ef6c

View File

@ -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"].