3 <a id=
"test" onclick=
"go()">Go?
</a>
5 if (window
.testRunner
) {
6 testRunner
.dumpAsText();
7 testRunner
.setCloseRemainingWindowsWhenComplete(true);
10 oClickEvent
= document
.createEvent("MouseEvents");
11 oClickEvent
.initEvent("click", true, true, window
, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
12 document
.getElementById("test").dispatchEvent(oClickEvent
);
15 oWin
= window
.open("about:blank", "blabla");
16 alert(oWin
? "FAIL" : "PASS");