gecko/dom/browser-element/mochitest/file_browserElement_TargetTop.html
Justin Lebar 2b0b714d0b Bug 771273 - Part 3: Test that window.open(..., 'top') works properly for in-process <iframe mozbrowser>. r=bz
--HG--
extra : rebase_source : be8f4dc04d4755f5b61865addc1df406fd87a560
2012-07-23 15:59:37 -04:00

13 lines
232 B
HTML

<html>
<body>
<div id='url'></div>
<script>
if (location.search == '') {
window.open('file_browserElement_TargetTop.html?2', '_top');
}
document.getElementById('url').innerHTML = document.location.href;
</script>
</body>
</html>