mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Change checkComplete in test_referer.html to check whether all tests are complete, rather than just the last. (Bug 600458) r=doublec a=test-fix
This commit is contained in:
parent
4fb016a01e
commit
1f3fa6c875
@ -21,14 +21,13 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=584480
|
||||
var media = [];
|
||||
|
||||
function checkComplete() {
|
||||
complete = true;
|
||||
for (var i=0; i<media.length; ++i) {
|
||||
complete = media[i]._complete;
|
||||
if (!media[i]._complete) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (complete) {
|
||||
SimpleTest.finish();
|
||||
}
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
function loadError(evt) {
|
||||
|
Loading…
Reference in New Issue
Block a user