Fix a typo and a couple leftovers in previous tests changes.

This commit is contained in:
Marco Bonardo 2009-10-28 22:59:33 +01:00
parent 58e8eebec2
commit 13e364670c
3 changed files with 3 additions and 3 deletions

View File

@ -152,7 +152,7 @@ function test() {
}
}
node.containerOpen = false;
throw("Unable to find child node");
ok(false, "Unable to find child node");
return null;
}

View File

@ -79,7 +79,7 @@ let pass = 0;
const MAX_PASS = 6;
function waitForSessionStoreJS() {
if (++pass > MAX_PASS) {
throw("Timed out waiting for sessionstore.js");
ok(false, "Timed out waiting for sessionstore.js");
finish();
}

View File

@ -69,7 +69,7 @@ function test() {
let iframes = tab2.linkedBrowser.contentWindow.frames;
if (iframes[1].document.body.innerHTML != uniqueValue &&
++pass <= MAX_PASS) {
SetTimeout(500, arguments.callee);
setTimeout(500, arguments.callee);
return;
}
is(iframes[1].document.body.innerHTML, uniqueValue,