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://localhost:8888/");
window.opener.close();
window.close();
</script>