зеркало из https://github.com/mozilla/pjs.git
Fix a typo and a couple leftovers in previous tests changes.
This commit is contained in:
Родитель
71dcb2b587
Коммит
deb4758157
|
@ -152,7 +152,7 @@ function test() {
|
|||
}
|
||||
}
|
||||
node.containerOpen = false;
|
||||
throw("Unable to find child node");
|
||||
ok(false, "Unable to find child node");
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче