netwerk/test/unit_ipc/test_cookie_header_wrap.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/netwerk/test/unit_ipc/test_cookie_header_wrap.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,11 @@
     1.4 +//
     1.5 +// Run test script in content process instead of chrome (xpcshell's default)
     1.6 +//
     1.7 +
     1.8 +Cu.import("resource://gre/modules/Services.jsm");
     1.9 +
    1.10 +function run_test() {
    1.11 +  // Allow all cookies.
    1.12 +  Services.prefs.setIntPref("network.cookie.cookieBehavior", 0);
    1.13 +  run_test_in_child("../unit/test_cookie_header.js");
    1.14 +}

mercurial