7 testRunner
.dumpAsText();
8 var sl
= document
.getElementById('sl');
9 var event
= document
.createEvent("MouseEvent");
10 event
.initMouseEvent("mousedown", true, true, window
, 1, sl
.offsetLeft
, sl
.offsetTop
, sl
.offsetLeft
, sl
.offsetTop
, false, false, false, false, 0, document
);
11 sl
.dispatchEvent(event
);
15 <body onload=
"test()">
16 This tests that we don't crash if a menu list's renderer is destroyed during the mouse down event.
18 <select id=
"sl" onmousedown=
"this.style.display='none'"><option>test
</select>