3 <script src=
"../../resources/js-test.js"></script>
6 testRunner
.waitUntilDone();
8 var testFinished
= false;
15 testPassed("received mousemove event.");
16 debug('<br /><span class="pass">TEST COMPLETE</span>');
17 if (window
.testRunner
)
18 testRunner
.notifyDone();
23 if (!window
.eventSender
)
26 var frame
= document
.getElementById("frame");
27 var centerX
= frame
.offsetLeft
+ frame
.offsetWidth
/ 2;
28 var centerY
= frame
.offsetTop
+ frame
.offsetHeight
/ 2;
29 eventSender
.mouseMoveTo(centerX
, centerY
);
32 window
.onload
= runTest
;
36 <p id=
"description"></p>
37 <iframe id=
"frame" src=
"resources/iframe-onmousemove.html"></iframe>
38 <div id=
"console"></div>
40 description("This test can be used to verify that a mousemove event is fired when moving the mouse cursor over an element in a subframe.");