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

Unified Diff: LayoutTests/fast/dynamic/layer-no-longer-paginated.html

Issue 183703003: Remove more testRunner.display() calls from LayoutTests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ditch fast/text/font-initial changes too 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/fast/dynamic/layer-no-longer-paginated.html
diff --git a/LayoutTests/fast/dynamic/layer-no-longer-paginated.html b/LayoutTests/fast/dynamic/layer-no-longer-paginated.html
index aa71861b1aa4bec6e1b338d85dae22f8b556ba29..c849f8386290c4551c7aeaa1beee35015b37bb42 100644
--- a/LayoutTests/fast/dynamic/layer-no-longer-paginated.html
+++ b/LayoutTests/fast/dynamic/layer-no-longer-paginated.html
@@ -1,3 +1,4 @@
+<script src="../../resources/run-after-display.js"></script>
<body style="overflow: hidden;">
<p>
Test for <i><a href="rdar://problem/10098679">&lt;rdar://problem/10098679></a>
@@ -18,15 +19,10 @@
document.getElementById("widener").style.removeProperty("width");
document.getElementById("target").style.removeProperty("-webkit-column-count");
}
-
- window.scrollBy(1, 0);
- if (window.testRunner) {
- testRunner.display();
+ window.scrollBy(1, 0);
+ if (window.testRunner)
testRunner.dumpAsText();
- test();
- } else
- setTimeout(test, 500);
-
+ runAfterDisplay(test);
</script>
</body>
« no previous file with comments | « LayoutTests/fast/dom/Window/post-message-crash.html ('k') | LayoutTests/fast/events/touch/gesture/pad-gesture-cancel.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698