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:
Hiroyuki Ikezoe 2011-01-26 13:52:10 -05:00
parent f84d1f4c8d
commit 41d35974b2

View File

@ -23,7 +23,7 @@ is(window.location.port, "8888", "Unexpected port; fix testcase");
SimpleTest.waitForExplicitFinish();
var loads = 0;
var loads = 1;
function loadStarted() {
++loads;
@ -35,6 +35,8 @@ function loadEnded() {
}
}
window.onload = loadEnded;
function getMessage(evt) {
ok(evt.data == "start" || evt.data == "end", "Must have start or end");
if (evt.data == "start")