testing/web-platform/tests/webmessaging/with-ports/024.html
author Updatebot <updatebot@mozilla.com>
Sat, 19 Jul 2025 21:32:42 +0000 (20 hours ago)
changeset 797266 df2495d1668868c4b99f85c68babc03a0f426bd1
parent 203642 891ab4bd814a1a4b9b83fa6b40bceb8aa2e4e46a
permissions -rw-r--r--
Bug 1978202 - Update android nightly application-services version bump to 2437c1c11b2c91a3036c812ebd81f4b5fd0d91d3 r=release-managers,diannaS Differential Revision: https://phabricator.services.mozilla.com/D257923
<!doctype html>
<title>undefined as ports</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
  postMessage('', '*', undefined);
  onmessage = this.step_func(function(e) {
    assert_array_equals(e.ports, []);
    this.done();
  });
});
</script>