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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/resources/base.js

Issue 2822093003: Some fast/table tests should wait for images specified via CSS url() (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
(Empty)
1 if (window.testRunner) {
2 // This is a workaroud for an issue that the test runner sends notifyDone
3 // before resources specified in CSS url finish loading. Currently all
4 // such resources are specified in inline CSSs so we can rely on the
5 // Document load event (Note that we cannot rely on the event generally).
6 testRunner.waitUntilDone();
7 window.addEventListener('load', () => {
8 // Force layout.
9 document.body.offsetTop;
10
11 testRunner.notifyDone();
12 });
13 }
14
rune 2017/04/18 15:30:09 The name "base.js" doesn't indicate what this scri
yhirano 2017/04/19 01:32:50 Done. Resources linked from inline CSSs block the
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698