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

Side by Side Diff: LayoutTests/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/imported/web-platform-tests/resources/testharnessreport.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * THIS FILE INTENTIONALLY LEFT BLANK 2 * THIS FILE INTENTIONALLY LEFT BLANK
3 * 3 *
4 * More specifically, this file is intended for vendors to implement 4 * More specifically, this file is intended for vendors to implement
5 * code needed to integrate testharness.js tests with their own test systems. 5 * code needed to integrate testharness.js tests with their own test systems.
6 * 6 *
7 * Typically such integration will attach callbacks when each test is 7 * Typically such integration will attach callbacks when each test is
8 * has run, using add_result_callback(callback(test)), or when the whole test fi le has 8 * has run, using add_result_callback(callback(test)), or when the whole test fi le has
9 * completed, using add_completion_callback(callback(tests, harness_status)). 9 * completed, using add_completion_callback(callback(tests, harness_status)).
10 * 10 *
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 document.documentElement.appendChild(document.createElement("body")) ; 119 document.documentElement.appendChild(document.createElement("body")) ;
120 document.body.appendChild(results); 120 document.body.appendChild(results);
121 121
122 if (self.testRunner) 122 if (self.testRunner)
123 testRunner.notifyDone(); 123 testRunner.notifyDone();
124 } 124 }
125 125
126 if (document.readyState === 'loading') { 126 if (document.readyState === 'loading') {
127 window.addEventListener('load', done); 127 window.addEventListener('load', done);
128 } else { 128 } else {
129 done(); 129 setTimeout(done, 0);
130 } 130 }
131 }); 131 });
OLDNEW
« no previous file with comments | « LayoutTests/imported/web-platform-tests/resources/testharnessreport.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698