Mypal/dom/browser-element/mochitest/file_browserElement_OpenMixedProcess.html
2019-03-11 13:26:37 +03:00

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>