test_cookie_header_wrap.js 302 B

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