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..6e5b28b5e0d60cba5e37c81e5eac436601b253ee 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"'); |
| + // The scrollbar captures the input and the plugin would not receive |
|
bokan
2017/04/04 15:18:01
nit: would -> should
|
| + // events. |
| + shouldBe('eventHistory.length', '0'); |
| requestAnimationFrame(function() { |
| shouldBeTrue('window.scrollY > 0'); |
| finishJSTest(); |