summaryrefslogtreecommitdiffstats
path: root/dom/base/test/iframe_postMessage_solidus.html
blob: 86f12367ec9e2b7fab08b4a3ef6d68547857a884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE HTML>
<html>
<body>
  <script type="application/javascript">

  window.addEventListener('message', receiveMessage);
  function receiveMessage(evt) {
    window.parent.postMessage(evt.data, '*');
  }

  </script>
</body>
</html>