dom/browser-element/mochitest/file_browserElement_OpenWindowRejected.html

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:e1a95b2a2b0a
1 <html>
2 <body>
3
4 <script>
5 var w = window.open('does_not_exist.html');
6 if (!w) {
7 alert("success:w is null");
8 }
9 else {
10 alert("failure:w is not null -- " + w);
11 }
12 alert("finish");
13 </script>
14
15 </body>
16 </html>

mercurial