summaryrefslogtreecommitdiffstats
path: root/dom/base/test/iframe_postMessage_solidus.html
blob: b5cf33b402789e76bfe1143ab9dc16eb5321b78c (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, false);
  function receiveMessage(evt) {
    window.parent.postMessage(evt.data, '*');
  }

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