Re: [w3c/ServiceWorker] Add Register a Service Worker algorithm for use by other specifications (PR #1848)

monica-ch left a comment (w3c/ServiceWorker#1848)

Thanks, @yoshisatoyanagisawa — updated in e053de5. The URL validation and normalization previously embedded in `Start Register` is now a shared algorithm used by both the JavaScript and browser-initiated registration paths. Client-specific behavior such as promise rejection and storage-key acquisition remains in `Start Register`.

The shared helper operates on a copy of each URL, so the exported algorithm does not mutate URL records owned by its caller. PTAL when you have a chance.


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

Message ID: <w3c/ServiceWorker/pull/1848/c5596049845@github.com>

Received on Wednesday, 9 September 2026 04:57:52 UTC