| Index: LayoutTests/compositing/iframes/resources/fixed-position-subframe.html
|
| diff --git a/LayoutTests/compositing/iframes/resources/fixed-position-subframe.html b/LayoutTests/compositing/iframes/resources/fixed-position-subframe.html
|
| index 5dc2d1c73a10b922fe63c42365d181c350c1b1dc..7c92bb48c254d315f067e97c941f32e82cc27ecb 100644
|
| --- a/LayoutTests/compositing/iframes/resources/fixed-position-subframe.html
|
| +++ b/LayoutTests/compositing/iframes/resources/fixed-position-subframe.html
|
| @@ -1,5 +1,6 @@
|
| <html>
|
| <head>
|
| +<script src="../../../resources/run-after-display.js"></script>
|
| <style>
|
| body {
|
| height: 5000px;
|
| @@ -23,12 +24,16 @@
|
| </head>
|
| <script>
|
| function doTest() {
|
| - if (window.testRunner)
|
| + if (window.testRunner) {
|
| testRunner.dumpAsTextWithPixelResults();
|
| + testRunner.waitUntilDone();
|
| + }
|
| window.scrollTo(0, 2000);
|
| - if (window.testRunner)
|
| - testRunner.display();
|
| - window.scrollTo(0, 1800);
|
| + runAfterDisplay(function() {
|
| + window.scrollTo(0, 1800);
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| + });
|
| }
|
| window.addEventListener("load", doTest, false);
|
| </script>
|
|
|