1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/browser-element/mochitest/file_browserElement_OpenMixedProcess.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +<html> 1.5 +<body> 1.6 + 1.7 +<!-- The test relies on the fact that this file is completely empty. --> 1.8 + 1.9 +<script> 1.10 + 1.11 +function ok(b, msg) 1.12 +{ 1.13 + alert((b ? 'pass:' : 'fail:') + msg); 1.14 +} 1.15 + 1.16 +var w = window.open("file_empty.html"); 1.17 +w.addEventListener('load', function() { 1.18 + ok(true, 'Got load.'); 1.19 + ok(w.document.getElementById('url'), 'Found element with id "url"'); 1.20 + alert('finish'); 1.21 +}); 1.22 +</script> 1.23 + 1.24 +</body> 1.25 +</html>