summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webmessaging/message-channels/004-1.html
blob: b5dd282cdca13b9c20d63bdf19b95b8a0a80824c (plain)
1
2
3
4
5
6
7
8
<!doctype html>
<title>004-1</title>
<script>
onmessage = function(e) {
  var port = e.ports[0];
  port.postMessage(e.data);
}
</script>