Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/plugins/overlay-scrollbar-mouse-capture.html |
| diff --git a/third_party/WebKit/LayoutTests/plugins/overlay-scrollbar-mouse-capture.html b/third_party/WebKit/LayoutTests/plugins/overlay-scrollbar-mouse-capture.html |
| index 0c7081142048e5635007293cf099f9d5628ff7c2..f2ba76b22188236067c4c78b9f458b039face4f6 100644 |
| --- a/third_party/WebKit/LayoutTests/plugins/overlay-scrollbar-mouse-capture.html |
| +++ b/third_party/WebKit/LayoutTests/plugins/overlay-scrollbar-mouse-capture.html |
| @@ -38,11 +38,9 @@ |
| // element under the mouse. |
| eventSender.mouseUp(); |
| - // TODO(bokan): This is wrong, if the scrollbar captures the input the |
| - // plugin shouldn't be receiving events. crbug.com/636436. |
| - shouldBe('eventHistory.length', '2'); |
| - shouldBe('eventHistory[0]', '"plugin.mousedown"'); |
| - shouldBe('eventHistory[1]', '"plugin.mouseup"'); |
| + // If the scrollbar captures the input the plugin shouldn't be receiving |
|
mustaq
2017/03/31 16:57:48
This comment is now irrelevant because the bug is
bokan
2017/03/31 20:07:00
Right, we should only have crbug references if the
|
| + // events. crbug.com/636436. |
| + shouldBe('eventHistory.length', '0'); |
| requestAnimationFrame(function() { |
| shouldBeTrue('window.scrollY > 0'); |
| finishJSTest(); |