RESOLVED FIXED 179649
Send ServiceWorkerData structs to the WebProcesses instead of ServiceWorkerIdentifiers
https://bugs.webkit.org/show_bug.cgi?id=179649
Summary Send ServiceWorkerData structs to the WebProcesses instead of ServiceWorkerId...
Chris Dumez
Reported 2017-11-13 19:06:43 PST
Send ServiceWorkerData structs to the WebProcesses instead of ServiceWorkerIdentifiers so that the WebProcesses can correctly construct ServiceWorker objects, with the right attributes / state.
Attachments
Patch (78.02 KB, patch)
2017-11-13 19:45 PST, Chris Dumez
no flags
Patch (54.23 KB, patch)
2017-11-13 20:24 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2017-11-13 19:45:16 PST
Chris Dumez
Comment 2 2017-11-13 20:24:51 PST
Brady Eidson
Comment 3 2017-11-13 22:02:08 PST
Comment on attachment 326844 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=326844&action=review > Source/WebCore/workers/service/ServiceWorkerData.cpp:40 > + return { > + identifier, > + scriptURL.isolatedCopy(), > + state, > + type > + }; We don't normally multi-line something like this.
Chris Dumez
Comment 4 2017-11-13 22:04:42 PST
Comment on attachment 326844 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=326844&action=review >> Source/WebCore/workers/service/ServiceWorkerData.cpp:40 >> + }; > > We don't normally multi-line something like this. I followed your pattern in ServiceWorkerRegistrationData :P
Brady Eidson
Comment 5 2017-11-13 22:12:34 PST
(In reply to Chris Dumez from comment #4) > Comment on attachment 326844 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=326844&action=review > > >> Source/WebCore/workers/service/ServiceWorkerData.cpp:40 > >> + }; > > > > We don't normally multi-line something like this. > > I followed your pattern in ServiceWorkerRegistrationData :P I think I multilined that because it was so many more thingies. But probably shouldn't have. :)
WebKit Commit Bot
Comment 6 2017-11-13 22:21:47 PST
Comment on attachment 326844 [details] Patch Clearing flags on attachment: 326844 Committed r224804: <https://trac.webkit.org/changeset/224804>
WebKit Commit Bot
Comment 7 2017-11-13 22:21:49 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8 2017-11-15 09:32:34 PST
Note You need to log in before you can comment on or make changes to this bug.