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

7 lines
242 B
HTML

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