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

Unified Diff: LayoutTests/css3/filters/multiple-filters-invalidation.html

Issue 196573042: Remove display() from more layout tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More expectations Created 6 years, 9 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/fast/animation/request-animation-frame-during-modal.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/css3/filters/multiple-filters-invalidation.html
diff --git a/LayoutTests/css3/filters/multiple-filters-invalidation.html b/LayoutTests/css3/filters/multiple-filters-invalidation.html
index 5b830051d9b48e51179715b7dfb7046550eacd7e..08008e8758efea875647d8b0d27f9eb97d93e8b7 100644
--- a/LayoutTests/css3/filters/multiple-filters-invalidation.html
+++ b/LayoutTests/css3/filters/multiple-filters-invalidation.html
@@ -14,17 +14,19 @@ html {
<body>
<div id="rect"></div>
</body>
+<script src="../../resources/run-after-display.js"></script>
<script>
function changeBackground() {
document.getElementById("rect").style.background = "green";
+ if (window.testRunner) {
+ testRunner.notifyDone();
+ }
}
if (window.testRunner) {
testRunner.dumpAsTextWithPixelResults();
- testRunner.display();
- changeBackground();
-} else
- window.setTimeout(changeBackground, 250);
-
+ testRunner.waitUntilDone();
+}
+runAfterDisplay(changeBackground);
</script>
</html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/animation/request-animation-frame-during-modal.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698