6 window
.internals
.settings
.setDeviceSupportsMouse(false);
8 alert("This test requires window.internals");
10 if (window
.testRunner
) {
11 testRunner
.dumpAsText();
12 testRunner
.waitUntilDone();
16 alert("FAIL: Received mousemove event.");
17 window
.removeEventListener("mousemove", listener
, false);
20 window
.addEventListener("mousemove", listener
, false);
22 window
.addEventListener("scroll", function() {
23 window
.setTimeout(function() {
24 testRunner
.notifyDone();
31 This test passes if it doesn't alert a message containing the word
"fail".
32 <div style=
"background-color: blue; height: 1000px"></div>
34 window
.scrollTo(0, 500);