Re: [w3c/ServiceWorker] Use the parsed URL's origin in getRegistration() (PR #1863)

@monica-ch approved this pull request.

This one also LGTM. `clientURL` is a parsed URL record here, so using its URL origin and HTML’s same-origin relation is correct. Returning a rejected promise directly also fixes the reference to `promise` before its declaration, while preserving the intended `SecurityError` rejection.

@yoshisatoyanagisawa Would you also take a look?



-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1863#pullrequestreview-5928956533
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/pull/1863/review/5928956533@github.com>

Received on Monday, 16 November 2026 22:29:33 UTC