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

Unified Diff: LayoutTests/fast/text/font-initial.html

Issue 183703003: Remove more testRunner.display() calls from LayoutTests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Just delete an svg crash 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/fast/text/font-initial.html
diff --git a/LayoutTests/fast/text/font-initial.html b/LayoutTests/fast/text/font-initial.html
index f3873ac98c9483dd8fd7fe5ea92ce7ae2a626fd2..ced5f85433259913acba899c644db8ba44c495be 100644
--- a/LayoutTests/fast/text/font-initial.html
+++ b/LayoutTests/fast/text/font-initial.html
@@ -3,8 +3,10 @@
Assertion failure in WebCore::Font::primaryFont</i>.
</p>
<span style="font: initial;">PASS</span>
+<script src="../../run-after-display.js"></script>
<script>
- // Makes the rendering code run even when not running as a pixel test.
if (window.testRunner)
- testRunner.display();
+ testRunner.waitUntilDone();
+ // Makes the rendering code run even when not running as a pixel test.
+ runAfterDisplay(testRunner.notifyDone);
jamesr 2014/02/27 23:56:07 this should be inside the window.testRunner check,
</script>

Powered by Google App Engine
This is Rietveld 408576698