Index: third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/004-2.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/004-2.html b/third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/004-2.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1b8ef0a7a0f020f402f081d05588d5b5751191b6 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/004-2.html |
@@ -0,0 +1,10 @@ |
+<!doctype html> |
+<title>004-2</title> |
+<script> |
+onmessage = function(e) { |
+ var port = e.ports[0]; |
+ port.onmessage = function(e) { // implied start() |
+ parent.postMessage(e.data, '*'); |
+ } |
+} |
+</script> |