gecko/netwerk/test/unit_ipc/head_ipc_setup.js
Jason Duell b3f8639620 Bug 547809 - e10s HTTP: turn on IPC networking by default for xpcshell tests. a=jduell, r=dwitte
--HG--
extra : rebase_source : 5f752bfc570d9c65a7bd8311e16e87289f15fb66
2009-10-30 17:39:58 -07:00

10 lines
295 B
JavaScript

/**
* Turn on e10s IPC-based HTTP for tests in this directory
* - Someday this will not be needed, once IPC HTTP is the default.
*/
Components.classes["@mozilla.org/process/environment;1"]
.getService(Components.interfaces.nsIEnvironment)
.set("NECKO_E10S_HTTP", "1");