diff options
Diffstat (limited to 'testing/web-platform/tests/webmessaging/with-ports/023.html')
-rw-r--r-- | testing/web-platform/tests/webmessaging/with-ports/023.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/webmessaging/with-ports/023.html b/testing/web-platform/tests/webmessaging/with-ports/023.html new file mode 100644 index 000000000..664289585 --- /dev/null +++ b/testing/web-platform/tests/webmessaging/with-ports/023.html @@ -0,0 +1,15 @@ +<!doctype html> +<title>null ports</title> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<div id=log></div> +<script> +async_test(function(t) { + postMessage('', '*', null); + onmessage = t.step_func(function(e) { + assert_array_equals(e.ports, []); + this.done(); + }); +}); +</script> + |