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

6 lines
267 B
HTML

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