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

19 строки
397 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");
}
// eslint-disable-next-line no-unsanitized/property
document.getElementById("name").innerHTML = location.search;
</script>
</body>
</html>