Re: [w3c/ServiceWorker] Ensure the addRoutes() to be called within the install event (PR #1744)

> Will you suggest the way to extend that during the installing?

All that might be needed is to remove the check on the event's `dispatch flag` on this PR.

The `add to lifetime` call does two things:
- Extend the installing phase until addRoutes completes.
- Reject/throw if service worker is no longer installing.

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

Message ID: <w3c/ServiceWorker/pull/1744/c2611976369@github.com>

Received on Friday, 24 January 2025 08:45:46 UTC