gecko/dom/tests/mochitest/bugs/bug346659-opener-echoer.html
2009-01-22 22:39:50 -05:00

7 lines
285 B
HTML

<script>
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect UniversalBrowserRead UniversalBrowserWrite");
window.opener.opener.postMessage(window.opener.testNum + " - " + window.x, "http://localhost:8888/");
window.opener.close();
window.close();
</script>