| Index: third_party/WebKit/LayoutTests/fast/events/resources/middleClickAutoscroll.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/events/resources/middleClickAutoscroll.js b/third_party/WebKit/LayoutTests/fast/events/resources/middleClickAutoscroll.js
|
| index 73de8b2f999510a65345e33ee976a7b69abdd9cc..f1763b8405b0c55f292daa69a672cca552e2c5d7 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/events/resources/middleClickAutoscroll.js
|
| +++ b/third_party/WebKit/LayoutTests/fast/events/resources/middleClickAutoscroll.js
|
| @@ -50,6 +50,8 @@ function testPanScroll(param)
|
| return;
|
| scrolled = true;
|
| testPassed('autoscroll started');
|
| + var cursorInfo = window.internals.getCurrentCursorInfo();
|
| + debug("Mouse cursor shape: " + cursorInfo);
|
|
|
| if (window.eventSender) {
|
| if (param.clickOrDrag == 'click')
|
| @@ -64,6 +66,12 @@ function testPanScroll(param)
|
| noMoreScroll = true;
|
| window.setTimeout(function() {
|
| testPassed('autoscroll stopped');
|
| + var cursorInfo = window.internals.getCurrentCursorInfo();
|
| + if (cursorInfo == "type=Pointer hotSpot=0,0" || cursorInfo == "type=IBeam hotSpot=0,0")
|
| + testPassed('Mouse cursor cleared');
|
| + else
|
| + testFailed('Mouse cursor shape: ' + cursorInfo);
|
| +
|
| finishTest();
|
| }, autoscrollInterval * 2);
|
| };
|
|
|