[w3c/ServiceWorker] Support import() local code in extension service worker (Issue #1700)

I know #1585 discussed import() in service worker. Here I am talking about browser extension service worker.

https://github.com/w3c/webextensions/issues/212 Some developers proposed it in WECG. Unlike Web, all code are already locally and offline available in a browser extension. So dynamically import() local code in extension service worker should just like normal javascript behavior, it should not be a problem for extensions.

According to past [meeting minutes](https://github.com/w3c/webextensions/blob/main/_minutes/2022-05-26-wecg.md), browser vendors are basically supportive of it in extension service worker.

I think there should be no objection to supporting import() in extension service worker. Web may also support import() in service worker in the future, but there will definitely be more considerations and requirements.

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

Message ID: <w3c/ServiceWorker/issues/1700@github.com>

Received on Monday, 8 January 2024 15:25:29 UTC