Index: third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/025.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/025.html b/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/025.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9a0e5cf6ffb729d7949e4073d75d3c4595800a16 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/025.html |
@@ -0,0 +1,13 @@ |
+<!doctype html> |
+<title>1 as ports</title> |
+<script src="/resources/testharness.js"></script> |
+<script src="/resources/testharnessreport.js"></script> |
+<div id=log></div> |
+<script> |
+test(function() { |
+ assert_throws(new TypeError(), function() { |
+ postMessage('', '*', 1); |
+ }); |
+}); |
+</script> |
+ |