- From: Yoshisato Yanagisawa <notifications@github.com>
- Date: Thu, 23 Jan 2025 23:54:29 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 24 January 2025 07:54:33 UTC
@yoshisatoyanagisawa commented on this pull request. > @@ -1605,15 +1605,27 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/ The <dfn method for="InstallEvent"><code>addRoutes(|rules|)</code></dfn> method steps are: - 1. Let |serviceWorker| be the [=current global object=]'s associated [=ServiceWorkerGlobalScope/service worker=]. - 1. Let |routerRules| be a copy of |serviceWorker|'s [=list of router rules=]. + 1. Let |event| be [=this=]. + 1. If |event|'s [=dispatch flag=] is unset, [=throw=] an "{{InvalidStateError}}" {{DOMException}}. + 1. If |rules| is not either of a {{RouterRule}} dictionary or a sequence of {{RouterRule}} dictionaries, then return [=a promise rejected with=] a {{TypeError}}. good catch! removed. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/pull/1744#discussion_r1928278217 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/pull/1744/review/2571952451@github.com>
Received on Friday, 24 January 2025 07:54:33 UTC