summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/wasm/serialization/module/resources/echo-iframe.html
blob: c4fd5824a1c617c21fe8b92483b388d586edf06e (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<meta charset="utf-8">
<title>A test page that echos back anything postMessaged to it to its parent</title>

<script>
"use strict";

window.onmessage = ({ data }) => {
  parent.postMessage(data, "*");
};
</script>