mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
aa6af0b7fa
--HG-- extra : rebase_source : f58dbae038842c0357fa71b08a215f31ff2cc0db
23 lines
390 B
HTML
23 lines
390 B
HTML
<html>
|
|
<body>
|
|
|
|
<!-- The test relies on the fact that this file is completely empty. -->
|
|
|
|
<script>
|
|
|
|
function ok(b, msg)
|
|
{
|
|
alert((b ? 'pass:' : 'fail:') + msg);
|
|
}
|
|
|
|
var w = window.open("file_empty.html");
|
|
w.addEventListener('load', function() {
|
|
ok(true, 'Got load.');
|
|
ok(w.document.getElementById('url'), 'Found element with id "url"');
|
|
alert('finish');
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|