summaryrefslogtreecommitdiffstats
path: root/ipc/testshell/tests/test_ipcshell_child.js
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/testshell/tests/test_ipcshell_child.js')
-rw-r--r--ipc/testshell/tests/test_ipcshell_child.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/ipc/testshell/tests/test_ipcshell_child.js b/ipc/testshell/tests/test_ipcshell_child.js
new file mode 100644
index 000000000..d9c9fb6c0
--- /dev/null
+++ b/ipc/testshell/tests/test_ipcshell_child.js
@@ -0,0 +1,9 @@
+var Cc = Components.classes;
+var Ci = Components.interfaces;
+
+const runtime = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime);
+
+if (typeof(run_test) == "undefined") {
+ run_test = function() {
+ do_check_eq(runtime.processType, Ci.nsIXULRuntime.PROCESS_TYPE_DEFAULT);
+ } }