Summary

Harness status: Error

Test named 'Register then getRegistrations' 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/getregistrations.https.html:25:40
    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 6 tests

Details

ResultTest NameMessage
Passregistrations are not returned following unregister
Asserts run
Pass
assert_array_equals([], [], "getRegistrations should resolve with an empty array.")
    at Test.<anonymous> ( /service-workers/service-worker/getregistrations.https.html:15:3)
FailRegister then getRegistrationsassert_array_equals: getRegistrations should resolve with an array of registrations lengths differ, expected array [undefined] length 1, got [] length 0
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/service-workers/service-worker/getregistrations.https.html:27:3)
Asserts run
Fail
assert_array_equals([], [undefined], "getRegistrations should resolve with an array of registrations")
    at Test.<anonymous> ( /service-workers/service-worker/getregistrations.https.html:27:3)
Not RunRegister multiple times then getRegistrations
Asserts runNo asserts ran
Not RunRegister then Unregister then getRegistrations
Asserts runNo asserts ran
Not RunRegister then Unregister with controlled frame then getRegistrations
Asserts runNo asserts ran
Not RungetRegistrations promise resolves only with same origin registrations.
Asserts runNo asserts ran