diff options
Diffstat (limited to '')
-rw-r--r-- | ipc/testshell/tests/test_ipcshell_child.js | 6 |
1 files changed, 6 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 0000000000..f2a0e1e245 --- /dev/null +++ b/ipc/testshell/tests/test_ipcshell_child.js @@ -0,0 +1,6 @@ +// eslint-disable-next-line mozilla/use-services +const runtime = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime); + +function run_test() { + Assert.equal(runtime.processType, Ci.nsIXULRuntime.PROCESS_TYPE_DEFAULT); +} |