servo/tests/wpt/web-platform-tests/wasm/serialization/resources/echo-iframe.html

11 lines
230 B
HTML

<!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>