Index: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-LSProgressEvent-ProgressEvent-should-match.html |
diff --git a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-LSProgressEvent-ProgressEvent-should-match.html b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-LSProgressEvent-ProgressEvent-should-match.html |
index f3abdb072ca3fc5a66656c5fe57ab219b00c3ff1..6939296e5c2b52662648535c7ca2ba0599088420 100644 |
--- a/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-LSProgressEvent-ProgressEvent-should-match.html |
+++ b/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-LSProgressEvent-ProgressEvent-should-match.html |
@@ -29,7 +29,7 @@ function onProgress(e) { |
else |
log("FAILED totalSize and total do not match (or both are null)"); |
- if (window.testRunner) |
+ if (++count == 1 && window.testRunner) |
testRunner.notifyDone(); |
} |