Re: [w3c/ServiceWorker] importScripts() on ServiceWorkerGlobalScope (#1319)

Ah, now I see why we didn't understand each other. The original problem I came here with is that a late `importScripts` doesn't work in a ManifestV3 extension's service worker because that worker is installed automatically and the browser doesn't run importScripts inside `install` event, of course, because it can't know which scripts we will use.

So now that the misunderstanding is cleared, hopefully, do you think it'd be theoretically possible to allow a late `importScripts` without its clone inside the `install` event if the script is local? Or such a check is impossible to perform dynamically so I shouldn't even bother opening an issue?

-- 
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/1319#issuecomment-856670108

Received on Tuesday, 8 June 2021 11:09:41 UTC