mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 559932 - intermittent content/html/document/test/test_bug445004.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - uri.match(/^http:\/\/([a-z.0-9]*)/) is null; r=bzbarsky a=test-only
--HG-- extra : rebase_source : 98485b1b2582aef9749377c736f59d2352e1ea78
This commit is contained in:
parent
005eeb4dea
commit
9a7311e6af
@ -23,7 +23,7 @@ is(window.location.port, "8888", "Unexpected port; fix testcase");
|
|||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
var loads = 0;
|
var loads = 1;
|
||||||
|
|
||||||
function loadStarted() {
|
function loadStarted() {
|
||||||
++loads;
|
++loads;
|
||||||
@ -35,6 +35,8 @@ function loadEnded() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.onload = loadEnded;
|
||||||
|
|
||||||
function getMessage(evt) {
|
function getMessage(evt) {
|
||||||
ok(evt.data == "start" || evt.data == "end", "Must have start or end");
|
ok(evt.data == "start" || evt.data == "end", "Must have start or end");
|
||||||
if (evt.data == "start")
|
if (evt.data == "start")
|
||||||
|
Loading…
Reference in New Issue
Block a user