4 https://bugzilla.mozilla.org/show_bug.cgi?id=428288
7 <title>Test for Bug
428288</title>
8 <script src=
"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel=
"stylesheet" type=
"text/css" href=
"chrome://mochikit/content/tests/SimpleTest/test.css" />
12 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=428288">Mozilla Bug
428288</a>
14 <div id=
"content" style=
"display: none">
15 <iframe name=
"target"></iframe>
16 <a id=
"crashy" target=
"target" href=
"about:blank">crash me
</a>
19 <script class=
"testbody" type=
"text/javascript">
21 /** Test for Bug
428288 */
23 function makeClick() {
24 var event = document.createEvent(
"MouseEvents");
25 event.initMouseEvent(
"click", true, true, window,
0,
0,
0,
0,
0,
26 false, false, false, false,
0, null);
27 document.getElementById(
"crashy").dispatchEvent(event);
31 ok(makeClick(),
"Crashes if bug 428288 is present");