2009-09-09 00:35:12 +04:00
|
|
|
function callback(result) {
|
|
|
|
do_check_eq(result, Ci.nsIXULRuntime.PROCESS_TYPE_CONTENT);
|
2009-09-02 02:17:24 +04:00
|
|
|
do_test_finished();
|
|
|
|
}
|
|
|
|
|
|
|
|
function run_test() {
|
|
|
|
do_test_pending();
|
2009-09-09 00:35:12 +04:00
|
|
|
|
|
|
|
do_check_eq(runtime.processType, Ci.nsIXULRuntime.PROCESS_TYPE_DEFAULT);
|
|
|
|
|
|
|
|
sendCommand("load('test_ipcshell_child.js');");
|
|
|
|
sendCommand("runtime.processType;", callback);
|
2009-09-02 02:17:24 +04:00
|
|
|
}
|
2009-09-09 00:35:12 +04:00
|
|
|
load('test_ipcshell_child.js');
|
|
|
|
|