summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit_ipc/test_default_uri_bypass_wrap.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit_ipc/test_default_uri_bypass_wrap.js')
-rw-r--r--netwerk/test/unit_ipc/test_default_uri_bypass_wrap.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/netwerk/test/unit_ipc/test_default_uri_bypass_wrap.js b/netwerk/test/unit_ipc/test_default_uri_bypass_wrap.js
new file mode 100644
index 0000000000..82c8e730f8
--- /dev/null
+++ b/netwerk/test/unit_ipc/test_default_uri_bypass_wrap.js
@@ -0,0 +1,13 @@
+function run_test() {
+ Services.prefs.setBoolPref("network.url.useDefaultURI", true);
+ Services.prefs.setBoolPref(
+ "network.url.some_schemes_bypass_defaultURI_fallback",
+ true
+ );
+ Services.prefs.setCharPref(
+ "network.url.simple_uri_schemes",
+ "simpleprotocol,otherproto"
+ );
+
+ run_test_in_child("../unit/test_default_uri_bypass.js");
+}