gecko/netwerk/test/unit_ipc/test_cookie_header_wrap.js

12 lines
302 B
JavaScript

//
// Run test script in content process instead of chrome (xpcshell's default)
//
Cu.import("resource://gre/modules/Services.jsm");
function run_test() {
// Allow all cookies.
Services.prefs.setIntPref("network.cookie.cookieBehavior", 0);
run_test_in_child("../unit/test_cookie_header.js");
}