gecko/netwerk/test/unit_ipc/test_cookie_header_wrap.js
Jonathan Mayer 4bd2d83991 Bug 818340 - change third party cookie handling to block third party cookies from sites I haven't visited. (r=jdm, r=dolske)
--HG--
extra : rebase_source : f486f39feac1fb743edc920618bec29884d515f1
2013-02-22 08:16:01 -08:00

14 lines
332 B
JavaScript

//
// Run test script in content process instead of chrome (xpcshell's default)
//
const Cu = Components.utils;
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");
}