Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Unified Diff: LayoutTests/http/tests/resources/testharnessreport.js

Issue 1303313006: Fix flakiness of imported/web-platform-tests/html/syntax/parsing/html5lib_testsNN.html. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/http/tests/w3c/resources/testharnessreport.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/resources/testharnessreport.js
diff --git a/LayoutTests/http/tests/resources/testharnessreport.js b/LayoutTests/http/tests/resources/testharnessreport.js
index 57793a3d1b5e8595297f7ec8b3a78f73a44ca33e..86873d816e61c752327b272df1fe76d378a4aae1 100644
--- a/LayoutTests/http/tests/resources/testharnessreport.js
+++ b/LayoutTests/http/tests/resources/testharnessreport.js
@@ -126,6 +126,6 @@ add_completion_callback(function (tests, harness_status) {
if (document.readyState === 'loading') {
window.addEventListener('load', done);
} else {
- done();
+ setTimeout(done, 0);
}
});
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/http/tests/w3c/resources/testharnessreport.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698