gecko/dom/browser-element/mochitest/file_browserElement_OpenWindowDifferentOrigin.html
Justin Lebar ac8e4078ee Bug 769182 - Tests for cross-origin window.open calls in <iframe mozbrowser>. r=bz
--HG--
extra : rebase_source : b2ee920c8084c3389ccddcfa5b17f67eaa15f833
2012-07-23 15:59:37 -04:00

19 lines
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>