mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
16 lines
353 B
JavaScript
16 lines
353 B
JavaScript
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();
|
|
sendCommand("load('test_ipcshell_child.js'); start();");
|
|
sendCommand("observer.status;", checkStatus);
|
|
}
|