gecko/dom/tests/mochitest/bugs/bug346659-opener-echoer.html

7 lines
285 B
HTML
Raw Normal View History

2009-01-22 19:39:50 -08:00
<script>
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect UniversalBrowserRead UniversalBrowserWrite");
window.opener.opener.postMessage(window.opener.testNum + " - " + window.x, "http://mochi.test:8888");
2009-01-22 19:39:50 -08:00
window.opener.close();
window.close();
</script>