RESOLVED FIXED 229720
Add support for ServiceWorkerGlobalScope.serviceWorker
https://bugs.webkit.org/show_bug.cgi?id=229720
Summary Add support for ServiceWorkerGlobalScope.serviceWorker
Chris Dumez
Reported 2021-08-31 10:13:36 PDT
Add support for ServiceWorkerGlobalScope.serviceWorker: - https://w3c.github.io/ServiceWorker/#dom-serviceworkerglobalscope-serviceworker
Attachments
WIP patch (3.65 KB, patch)
2021-08-31 10:14 PDT, Chris Dumez
no flags
WIP patch (3.26 KB, patch)
2021-08-31 10:48 PDT, Chris Dumez
no flags
WIP patch (5.44 KB, patch)
2021-08-31 10:56 PDT, Chris Dumez
no flags
WIP patch (28.05 KB, patch)
2021-08-31 12:09 PDT, Chris Dumez
no flags
Patch (34.29 KB, patch)
2021-08-31 12:40 PDT, Chris Dumez
no flags
Patch (33.79 KB, patch)
2021-08-31 16:45 PDT, Chris Dumez
no flags
Patch (48.24 KB, patch)
2021-09-01 07:52 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2021-08-31 10:14:08 PDT
Created attachment 436900 [details] WIP patch
Chris Dumez
Comment 2 2021-08-31 10:48:20 PDT
Created attachment 436910 [details] WIP patch
Chris Dumez
Comment 3 2021-08-31 10:56:00 PDT
Created attachment 436913 [details] WIP patch
Chris Dumez
Comment 4 2021-08-31 12:09:24 PDT
Created attachment 436924 [details] WIP patch
Chris Dumez
Comment 5 2021-08-31 12:40:04 PDT
Chris Dumez
Comment 6 2021-08-31 16:45:37 PDT
youenn fablet
Comment 7 2021-09-01 00:04:47 PDT
Comment on attachment 436965 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=436965&action=review > Source/WebCore/workers/service/context/ServiceWorkerThread.cpp:81 > + , m_workerData(crossThreadCopy(workerData)) We do not really need a ServiceWorkerContextData&& nor a ServiceWorkerData&&, except if we want to add a dedicated isolatedCopy() &&. > LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/popup-coop-by-sw.https-expected.txt:1 > +CONSOLE MESSAGE: Unhandled Promise Rejection: TypeError: Load failed This unhandled promise rejection may cause flakiness according EWS. Can we update the test to make sure this des not happen?
Chris Dumez
Comment 8 2021-09-01 07:52:28 PDT
EWS
Comment 9 2021-09-01 09:30:49 PDT
Committed r281854 (241186@main): <https://commits.webkit.org/241186@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 437027 [details].
Radar WebKit Bug Importer
Comment 10 2021-09-01 09:31:17 PDT
Note You need to log in before you can comment on or make changes to this bug.