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> |