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