summaryrefslogtreecommitdiffstats
path: root/dom/browser-element/mochitest/file_browserElement_OpenWindowRejected.html
blob: eb6786979ab0534e0847f1f4d323328e045bdf11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<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>