3 testRunner
.waitUntilDone();
7 var trouble
= document
.createElement('iframe');
9 trouble
.src
="data:text/html,... then into this iframe to crash."
10 document
.getElementById("parentNode").appendChild(trouble
);
15 var trouble
= document
.getElementById('trouble');
16 trouble
.parentNode
.removeChild(trouble
);
21 var e1
= document
.getElementById("parentNode");
22 var x
= e1
.offsetLeft
+3;
23 var y
= e1
.offsetTop
+3;
24 eventSender
.mouseMoveTo(x
, y
);
25 var e2
= document
.getElementById('trouble');
28 eventSender
.mouseMoveTo(x
, y
);
30 printResults("PASSED");
33 function printResults(result
)
35 var console
= document
.getElementById("results");
36 console
.innerHTML
= result
;
37 console
.style
.display
= "block";
38 document
.getElementById("parentNode").style
.display
= "none";
39 testRunner
.dumpAsText();
40 testRunner
.notifyDone();
45 <body onload=
"runTest()">
46 <div id=
"parentNode" onmouseout=
"mouseOut()" onmouseover=
"mouseOver()">
47 Mouseover this text...
50 <div id=
"results" style=
"display:none;"></div>