Re: [w3c/ServiceWorker] consider allow late importScripts/import for local URLs (#1595)

It would be great to get the [WECG](https://github.com/w3c/webextensions/) to document/spec how WebExtensions upgrades relate to ServiceWorker upgrades.  Is there an invariant that if a WebExtension ServiceWorker upgrades from v1 to v2 that there is a mechanism or strict ordering for the upgrade so that the v1 SW would always see the resources from the v1 WebExtension and the v2 SW would always see the resources from the v2 WebExtension?  Or would implementing the local-only optimization create a problem where the SW's can effectively be out of sync with the "local" WebExtension resources?

If that's addressed, this seems like a reasonable proposal.

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

Received on Wednesday, 16 June 2021 15:00:08 UTC