RESOLVED FIXED208185
New service worker API 'FetchEvent.handled' needs to be supported
https://bugs.webkit.org/show_bug.cgi?id=208185
Summary New service worker API 'FetchEvent.handled' needs to be supported
Ting Shao
Reported 2020-02-25 01:15:12 PST
'FetchEvent.handled' is a new service worker API which is added in spec as following: spec: https://w3c.github.io/ServiceWorker/#fetch-event-handled spec PR: https://github.com/w3c/ServiceWorker/pull/1496 wpt: https://github.com/web-platform-tests/wpt/pull/21652 It's good to support this as it notifies developers when fetch event is processed.
Attachments
Patch (17.37 KB, patch)
2022-01-10 09:39 PST, youenn fablet
no flags
Radar WebKit Bug Importer
Comment 1 2020-02-26 09:45:12 PST
Philip Jägenstedt
Comment 2 2022-01-07 03:56:23 PST
Note that this is support in Chrome and Firefox since late 2020: https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent#browser_compatibility
youenn fablet
Comment 3 2022-01-10 09:39:31 PST
youenn fablet
Comment 4 2022-01-10 09:39:43 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/32311
EWS Watchlist
Comment 5 2022-01-10 09:41:46 PST
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Chris Dumez
Comment 6 2022-01-11 07:45:32 PST
Comment on attachment 448760 [details] Patch r=me
EWS
Comment 7 2022-01-12 01:45:35 PST
Committed r287915 (245948@main): <https://commits.webkit.org/245948@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 448760 [details].
Note You need to log in before you can comment on or make changes to this bug.