summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit_ipc/test_default_uri_bypass_wrap.js
blob: 82c8e730f8566a067bf1139774d0af9fd52e0594 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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");
}