This test creates a iframe in a first-party context and then registers a service worker (such that the iframe client is unclaimed). A third-party iframe is then created which has its SW call clients.claim() and then the test checks that the 1p iframe was not claimed int he process. Finally the test has its SW call clients.claim() and confirms the 1p iframe is claimed.

Summary

Harness status: Error

Test named 'ServiceWorker's clients.claim() is partitioned' specified 2 'cleanup' functions, and 1 failed.
TypeError: Cannot read properties of undefined (reading 'unregister')
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/service-workers/service-worker/partitioned-claim.tentative.https.html:35: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 clients.claim() 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