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

6 строки
224 B
HTML

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