Open Bug 1694377 Opened 4 years ago Updated 1 year ago

Prevent dynamic import in service worker

Categories

(Core :: DOM: Service Workers, task, P3)

task

Tracking

()

UNCONFIRMED

People

(Reporter: jaffathecake, Unassigned)

References

(Depends on 1 open bug)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36

Steps to reproduce:

Spec change: https://github.com/web-platform-tests/wpt/pull/27699
Tests: https://github.com/web-platform-tests/wpt/pull/27699
Context: https://github.com/w3c/ServiceWorker/issues/1356

Although this is a backwards-incompatible change for Firefox, Chrome never allowed import() in service workers, so I don't expect import() to be used much in the wild.

Spec change link should be https://github.com/whatwg/html/pull/6395

Severity: -- → S4
Priority: -- → P3
Depends on: 1311726
Depends on: 1360870
Type: defect → task
You need to log in before you can comment on or make changes to this bug.