This test loads a SW in a first-party context and gets has the SW send its list of clients from client.matchAll(). It does the same thing for the SW in a third-party context as well and confirms that each SW see's the correct clients and that they don't see eachother's clients.

Summary

Harness status: Error

Test named 'ServiceWorker's matchAll() is partitioned' specified 1 'cleanup' function, and 1 failed.
TypeError: Cannot read properties of undefined (reading 'unregister')
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/service-workers/service-worker/partitioned-matchAll.tentative.https.html:24:27
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:3027:34
    at forEach (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4663:26)
    at Test.cleanup (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:3022:9)
    at Test.done (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2986:14)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2653:18)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35

Found 1 tests

Details

ResultTest NameMessage
FailServiceWorker's matchAll() is partitionedpromise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of undefined (reading 'installing')"
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4564:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:764:29)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran