1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/browser-element/mochitest/file_browserElement_OpenWindowDifferentOrigin.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +<html> 1.5 +<body> 1.6 + 1.7 +<div id='name'></div> 1.8 + 1.9 +<script> 1.10 +if (location.search == "?1") { 1.11 + open("http://example.com/tests/dom/browser-element/mochitest/file_browserElement_OpenWindowDifferentOrigin.html?2"); 1.12 +} 1.13 +else if (location.search == "?2") { 1.14 + alert("finish"); 1.15 +} 1.16 + 1.17 +document.getElementById('name').innerHTML = location.search; 1.18 +</script> 1.19 + 1.20 +</body> 1.21 +</html>