gecko-dev/dom/browser-element/mochitest/file_browserElement_OpenWin...

19 строки
345 B
HTML

<html>
<body>
<div id='name'></div>
<script>
if (location.search == "?1") {
open("http://example.com/tests/dom/browser-element/mochitest/file_browserElement_OpenWindowDifferentOrigin.html?2");
}
else if (location.search == "?2") {
alert("finish");
}
document.getElementById('name').innerHTML = location.search;
</script>
</body>
</html>