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

Unified Diff: LayoutTests/compositing/overflow/do-not-paint-outline-into-composited-scrolling-contents.html

Issue 181653006: Remove testRunner.display() from most compositing/ tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert change to plugin test Created 6 years, 10 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
Index: LayoutTests/compositing/overflow/do-not-paint-outline-into-composited-scrolling-contents.html
diff --git a/LayoutTests/compositing/overflow/do-not-paint-outline-into-composited-scrolling-contents.html b/LayoutTests/compositing/overflow/do-not-paint-outline-into-composited-scrolling-contents.html
index bdca89f180e312a1cbe60490d5a1fce4ca55ae11..213a63fa6dc5cd96e66039461f1e1ea684e2ec86 100644
--- a/LayoutTests/compositing/overflow/do-not-paint-outline-into-composited-scrolling-contents.html
+++ b/LayoutTests/compositing/overflow/do-not-paint-outline-into-composited-scrolling-contents.html
@@ -7,6 +7,7 @@
If this test succeeds, you should not see the focus ring in the scrolled
contents.
-->
+ <script src="../../resources/run-after-display.js"></script>
<script type="text/javascript" charset="utf-8">
if (window.testRunner)
window.testRunner.dumpAsTextWithPixelResults();
@@ -27,9 +28,7 @@
var textarea = document.getElementById('text');
textarea.focus();
textarea.selectionStart = textarea.selectionEnd = 0;
- if (window.testRunner)
- window.testRunner.display();
- window.setTimeout(endTest, 100);
+ runAfterDisplay(endTest);
}
window.addEventListener('load', doTest, false);

Powered by Google App Engine
This is Rietveld 408576698