gecko/ipc/testshell/tests/test_ipcshell.js

16 lines
353 B
JavaScript
Raw Normal View History

2009-09-01 15:17:24 -07:00
function checkStatus(result) {
if (result == "Waiting") {
sendCommand("observer.status;", checkStatus);
return;
}
do_check_eq(result, "Success");
do_test_finished();
}
function run_test() {
do_test_pending();
2009-09-01 15:36:38 -07:00
sendCommand("load('test_ipcshell_child.js'); start();");
sendCommand("observer.status;", checkStatus);
2009-09-01 15:17:24 -07:00
}