3 function print(message
) {
4 var paragraph
= document
.createElement("p");
5 paragraph
.appendChild(document
.createTextNode(message
));
6 document
.getElementById("console").appendChild(paragraph
);
11 if (window
.layoutTestController
)
12 layoutTestController
.dumpAsText();
14 var e
= document
.createEvent("MouseEvents");
15 e
.initEvent("click", true, false);
16 document
.getElementById('a').dispatchEvent(e
);
21 <body onload=
"test()">
22 <p>Bug:
<a href=
"http://bugs.webkit.org/show_bug.cgi?id=6382">REGRESSION: Repro crash when clicking link with
target=
"_blank"</a></p>
23 <p>If the test passes, you will see a PASS message below. (It's normal for a new window to open.)
</p>
25 <a id=
"a" href=
"resources/popup200x200.html" target=
"_blank"></a>