gecko-dev/dom/browser-element/mochitest/file_browserElement_BrowserWindowNamespace.html
Justin Lebar 4ca15feade Bug 852847 - Part 2: Do things later in our browser-element tests, thus avoiding doing things before the browser-element machinery has loaded. r=kk1ff
Also set network.disable.ipc.security to true and leave it that way. This prevents security errors in the tests which happen when we pop the pref.

--HG--
extra : rebase_source : 95f7ca7c3b71cdc0e3e6fd1cfb663a5653f3ab6f
2013-03-28 15:51:10 -04:00

10 lines
152 B
HTML

<html>
<body>
<script>
addEventListener('load', function() {
window.open("http://example.com/" + location.hash, "foo");
});
</script>
</body>
</html>