summaryrefslogtreecommitdiff
path: root/dom/base/test/file_receiveMessage.html
blob: 66f421270f97ea619c3017673fea87a3015a3cc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html>
<head>
  <script>
    window.onmessage = event => {
      document.body.textContent = `${event.origin}|${event.data}`;
    };
  </script>
</head>

<body></body>
</html>