`clientURL` has already been parsed into a URL record. Compare its URL origin and return a rejected promise directly on the cross-origin path, as on the URL parse failure path.
You can view, comment on, or merge this pull request online at:
https://github.com/w3c/ServiceWorker/pull/1863
-- Commit Summary --
* Use the parsed URL's origin in getRegistration()
-- File Changes --
M index.bs (2)
-- Patch Links --
https://github.com/w3c/ServiceWorker/pull/1863.patch
https://github.com/w3c/ServiceWorker/pull/1863.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1863
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/ServiceWorker/pull/1863@github.com>