Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'android'
- Manifest: docshell/test/chrome/chrome.toml
<!DOCTYPE HTML>
<html>
<!--
-->
<head>
<link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css" />
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=428288">Mozilla Bug 428288</a>
<p id="display"></p>
<div id="content" style="display: none">
<iframe name="target"></iframe>
<a id="crashy" target="target" href="about:blank">crash me</a>
</div>
<pre id="test">
<script class="testbody" type="text/javascript">
function makeClick() {
var event = document.createEvent("MouseEvents");
event.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0,
false, false, false, false, 0, null);
document.getElementById("crashy").dispatchEvent(event);
return true;
}
</script>
</pre>
</body>
</html>