Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(968)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/004-1.html

Issue 2558423002: Import wpt/webmessaging tests (Closed)
Patch Set: rebase again Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/004-1.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/004-1.html b/third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/004-1.html
new file mode 100644
index 0000000000000000000000000000000000000000..b5dd282cdca13b9c20d63bdf19b95b8a0a80824c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/004-1.html
@@ -0,0 +1,8 @@
+<!doctype html>
+<title>004-1</title>
+<script>
+onmessage = function(e) {
+ var port = e.ports[0];
+ port.postMessage(e.data);
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698