ipc/testshell/tests/test_ipcshell_child.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:7ce126cd73ee
1 const Cc = Components.classes;
2 const Ci = Components.interfaces;
3
4 const runtime = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime);
5
6 if (typeof(run_test) == "undefined") {
7 run_test = function() {
8 do_check_eq(runtime.processType, Ci.nsIXULRuntime.PROCESS_TYPE_DEFAULT);
9 }
10 }

mercurial