summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/bugs/bug346659-parent.html
blob: 7d675cf20ef876d0b6c6c6a53a69301d6c4e6412 (plain)
1
2
3
4
5
6
7
8
9
10
11
<body onload="postBack();">
  <script>
    var childWin;
    function postBack() {
      childWin = window.frames[0];
      var s = decodeURIComponent(window.location.search.substring(1));
      window.opener.postMessage(s, "http://mochi.test:8888");
    }
  </script>
  <iframe></iframe>
</body>