WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
WIP patch
(3.26 KB, patch)
2021-08-31 10:48 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
WIP patch
(5.44 KB, patch)
2021-08-31 10:56 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
WIP patch
(28.05 KB, patch)
2021-08-31 12:09 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(34.29 KB, patch)
2021-08-31 12:40 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(33.79 KB, patch)
2021-08-31 16:45 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(48.24 KB, patch)
2021-09-01 07:52 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(6)
View All
Add attachment
proposed patch, testcase, etc.
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
Created
attachment 436929
[details]
Patch
Chris Dumez
Comment 6
2021-08-31 16:45:37 PDT
Created
attachment 436965
[details]
Patch
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
Created
attachment 437027
[details]
Patch
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
<
rdar://problem/82632170
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug