gecko/dom/browser-element/mochitest/file_browserElement_OpenWindowRejected.html
Justin Lebar 565722e27e Bug 742944 - Part 5: Tests for window.open in <iframe mozbrowser>. r=bz
--HG--
extra : rebase_source : 8419648607fbf9f7acd672cb0f94ce7a05a32d88
2012-06-12 18:01:25 -04:00

17 lines
205 B
HTML

<html>
<body>
<script>
var w = window.open('does_not_exist.html');
if (!w) {
alert("success:w is null");
}
else {
alert("failure:w is not null -- " + w);
}
alert("finish");
</script>
</body>
</html>