5 testRunner
.dumpAsText();
9 if (!window
.eventSender
)
11 var area
= document
.getElementById('area');
12 var x
= area
.offsetLeft
+ area
.offsetWidth
/ 2;
13 var y
= area
.offsetTop
+ area
.offsetHeight
/ 2;
14 eventSender
.mouseMoveTo(x
, y
);
15 eventSender
.mouseScrollBy(0, 0);
19 <body onload=
"runTest()">
20 <p id=
"description">Ensures that a mouse scrolling with (deltaX=
0, deltaY=
0) doesn't crash the browser.
21 <p>Passes if doesn't crash.
22 <div id=
"area" style=
"width:100px;height:100px">