summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/bugs/bug346659-opener-echoer.html
blob: fde456a36afd0c6b187f458f8173daf502fddac6 (plain)
1
2
3
4
5
6
<script>
  var testNum = decodeURIComponent(window.location.search.substring(1));
  window.opener.opener.postMessage(testNum + " - " + window.x, "http://mochi.test:8888");
  window.opener.close();
  window.close();
</script>