- From: Yoshisato Yanagisawa <notifications@github.com>
- Date: Thu, 15 Feb 2024 15:51:30 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 15 February 2024 23:51:38 UTC
@yoshisatoyanagisawa commented on this pull request. > + typedef (RouterSourceDict or RouterSourceEnum) RouterSource; + + dictionary RouterSourceDict { + DOMString cacheName; + }; + + enum RunningStatus { "running", "not-running" }; + enum RouterSourceEnum { "cache", "fetch-event", "network" }; + </pre> + + <section> + <h4 id="register-router-method">{{InstallEvent/addRoutes(rules)|event.addRoutes(rules)}}</h4> + + {{InstallEvent/addRoutes(rules)}} registers this service worker the rules to offload simple tasks that the fetch handler does. + + The <dfn method for="InstallEvent"><code>addRoutes(|rules|)</code></dfn> method steps are: done. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/pull/1701#discussion_r1491802345 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/pull/1701/review/1884091752@github.com>
Received on Thursday, 15 February 2024 23:51:38 UTC