RESOLVED FIXED 222308
Prevent dynamic import in service worker
https://bugs.webkit.org/show_bug.cgi?id=222308
Summary Prevent dynamic import in service worker
Jake Archibald
Reported 2021-02-23 04:09:50 PST
Spec change: https://github.com/whatwg/html/pull/6395 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 WebKit, Chrome never allowed import() in service workers, so I don't expect import() to be used much in the wild.
Attachments
Patch (2.04 KB, patch)
2021-03-13 18:10 PST, Yusuke Suzuki
no flags
Patch (8.54 KB, patch)
2021-03-13 23:24 PST, Yusuke Suzuki
no flags
Patch (9.44 KB, patch)
2021-03-13 23:26 PST, Yusuke Suzuki
no flags
Radar WebKit Bug Importer
Comment 1 2021-03-02 04:10:14 PST
Yusuke Suzuki
Comment 2 2021-03-13 18:10:16 PST
Yusuke Suzuki
Comment 3 2021-03-13 23:24:52 PST
Yusuke Suzuki
Comment 4 2021-03-13 23:26:54 PST
youenn fablet
Comment 5 2021-03-14 04:00:14 PDT
Comment on attachment 423117 [details] Patch Would it be possible to resync the corresponding wpt tests Jake pointed out? Either there, or as a follow up.
Yusuke Suzuki
Comment 6 2021-03-14 14:15:06 PDT
(In reply to youenn fablet from comment #5) > Comment on attachment 423117 [details] > Patch > > Would it be possible to resync the corresponding wpt tests Jake pointed out? > Either there, or as a follow up. This requires very large changes since we also need to update wpt tools etc... So for now, I didn't do that in that patch and wrote a test
EWS
Comment 7 2021-03-14 14:19:29 PDT
Committed r274404: <https://commits.webkit.org/r274404> All reviewed patches have been landed. Closing bug and clearing flags on attachment 423117 [details].
Note You need to log in before you can comment on or make changes to this bug.