summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/bugs/bug346659-opener-echoer.html
blob: 277d35874b60036ed0c6b6858abcf56ad7899242 (plain)
1
2
3
4
5
6
<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>