Reject dynamic import on ServiceWorkerGlobalScope |
|
Issue descriptionSpec issue: https://github.com/w3c/ServiceWorker/issues/1356#issuecomment-433411852 Dynamic import on ServiceWorkerGlobalScope is controversial in terms of service worker's script installation (see the spec issue for details). At the F2F meeting, for now we decided to reject dynamic import on ServiceWorkerGlobalScope until we understand real usage of module service workers and problems around dynamic import + script installation.
,
Oct 30
For implementation, we can do the same thing with WorkletModulatorImpl::IsDynamicImportForbidden(). |
|
►
Sign in to add a comment |
|
Comment 1 by nhiroki@chromium.org
, Oct 30Cc: falken@chromium.org