summaryrefslogtreecommitdiffstats
path: root/dom/browser-element/mochitest/file_browserElement_OpenMixedProcess.html
blob: 873a99f1a9fe0db86762e38807d926df098b35cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<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>