-1:000000000000 | 0:4d31d697eb74 |
---|---|
1 <html> | |
2 <body> | |
3 | |
4 <!-- The test relies on the fact that this file is completely empty. --> | |
5 | |
6 <script> | |
7 | |
8 function ok(b, msg) | |
9 { | |
10 alert((b ? 'pass:' : 'fail:') + msg); | |
11 } | |
12 | |
13 var w = window.open("file_empty.html"); | |
14 w.addEventListener('load', function() { | |
15 ok(true, 'Got load.'); | |
16 ok(w.document.getElementById('url'), 'Found element with id "url"'); | |
17 alert('finish'); | |
18 }); | |
19 </script> | |
20 | |
21 </body> | |
22 </html> |