| Index: LayoutTests/fast/reflections/inline-crash.html
|
| diff --git a/LayoutTests/fast/reflections/inline-crash.html b/LayoutTests/fast/reflections/inline-crash.html
|
| index d5efd3ef0f7c61129a2591755aadd64a87a472b6..63be5ef7a439d6ae24fa737ab4654f711624e592 100644
|
| --- a/LayoutTests/fast/reflections/inline-crash.html
|
| +++ b/LayoutTests/fast/reflections/inline-crash.html
|
| @@ -1,20 +1,13 @@
|
| +<script src="../../resources/run-after-display.js"></script>
|
| <script>
|
| - onload = function()
|
| - {
|
| - if (window.testRunner) {
|
| - testRunner.waitUntilDone();
|
| - testRunner.display();
|
| - }
|
| - setTimeout(changeColor, 0);
|
| - }
|
| -
|
| - changeColor = function()
|
| - {
|
| + if (window.testRunner)
|
| + testRunner.waitUntilDone();
|
| + runAfterDisplay(function() {
|
| var span = document.getElementById("span");
|
| getSelection().setBaseAndExtent(span, 0, span, 1);
|
| if (window.testRunner)
|
| testRunner.notifyDone();
|
| - }
|
| + });
|
| </script>
|
| <p>
|
| Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=19525">https://bugs.webkit.org/show_bug.cgi?id=19525</a>
|
|
|