gecko/dom/browser-element/mochitest/file_browserElement_OpenWindowRejected.html

17 lines
205 B
HTML
Raw Normal View History

<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>