comparison: dom/browser-element/mochitest/file_browserElement_OpenWindowRejected.html
dom/browser-element/mochitest/file_browserElement_OpenWindowRejected.html
- branch
- TOR_BUG_9701
- changeset 15
- b8a032363ba2
equal
deleted
inserted
replaced
|
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> |