gecko-dev/dom/browser-element/mochitest/file_browserElement_OpenWin...

17 строки
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>