| Index: third_party/WebKit/LayoutTests/scrollingcoordinator/plugin-with-wheel-handler.html
|
| diff --git a/third_party/WebKit/LayoutTests/scrollingcoordinator/plugin-with-wheel-handler.html b/third_party/WebKit/LayoutTests/scrollingcoordinator/plugin-with-wheel-handler.html
|
| index 1e6c91657f0f105a49ed0ef7c1a09e49070462c2..3f1208ee5236203a5f7e932837cd98acc3e490e8 100644
|
| --- a/third_party/WebKit/LayoutTests/scrollingcoordinator/plugin-with-wheel-handler.html
|
| +++ b/third_party/WebKit/LayoutTests/scrollingcoordinator/plugin-with-wheel-handler.html
|
| @@ -1,5 +1,6 @@
|
| <!DOCTYPE html>
|
| <script src="../resources/js-test.js"></script>
|
| +<script src="../resources/run-after-layout-and-paint.js"></script>
|
|
|
| <script>
|
| description('This test ensures that a plugin which wants to receive wheel ' +
|
| @@ -7,6 +8,7 @@ description('This test ensures that a plugin which wants to receive wheel ' +
|
| window.jsTestIsAsync = true;
|
|
|
| onload = function() {
|
| + runAfterLayoutAndPaint(function() {
|
| if (window.internals) {
|
| shouldBe('internals.nonFastScrollableRects(document).length', '1');
|
| } else {
|
| @@ -14,7 +16,9 @@ onload = function() {
|
| }
|
|
|
| finishJSTest();
|
| + });
|
| }
|
| </script>
|
|
|
| <embed id="plugin" type="application/x-webkit-test-webplugin"></embed>
|
| +<div style="height:2000px"></div>
|
|
|