Bug 201830

Summary: NetworkProcessConnection does not need HashMaps of sessionIDs for Service Workers and IDB
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, beidson, commit-queue, ggaren, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=201859
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

Chris Dumez
Reported 2019-09-16 12:36:05 PDT
NetworkProcessConnection does not need HashMap of sessionIDs for Service Workers and IDB, since we now have one sessionID per WebContent process.
Attachments
Patch (17.00 KB, patch)
2019-09-16 12:37 PDT, Chris Dumez
no flags
Patch (17.00 KB, patch)
2019-09-16 12:37 PDT, Chris Dumez
no flags
Patch (16.94 KB, patch)
2019-09-16 12:47 PDT, Chris Dumez
no flags
Patch (16.86 KB, patch)
2019-09-16 13:05 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2019-09-16 12:37:10 PDT
Chris Dumez
Comment 2 2019-09-16 12:37:58 PDT
Chris Dumez
Comment 3 2019-09-16 12:47:40 PDT
Chris Dumez
Comment 4 2019-09-16 13:05:16 PDT
Geoffrey Garen
Comment 5 2019-09-16 14:05:28 PDT
Comment on attachment 378885 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=378885&action=review r=me > Source/WebKit/NetworkProcess/IndexedDB/WebIDBConnectionToClient.h:76 > + uint64_t messageSenderDestinationID() const final { return 0; } Are these zero accessors going to be removed in a future patch?
Chris Dumez
Comment 6 2019-09-16 14:20:19 PDT
Comment on attachment 378885 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=378885&action=review >> Source/WebKit/NetworkProcess/IndexedDB/WebIDBConnectionToClient.h:76 >> + uint64_t messageSenderDestinationID() const final { return 0; } > > Are these zero accessors going to be removed in a future patch? I don't think they can. messageSenderDestinationID() is pure virtual on IPC::MessageSender so we have to provide an implementation. It is equivalent to the many send() calls we have that pass 0 as destinationID as last parameter (because there is only one destination on this IPC connection).
Chris Dumez
Comment 7 2019-09-16 14:52:10 PDT
Comment on attachment 378885 [details] Patch Clearing flags on attachment: 378885 Committed r249923: <https://trac.webkit.org/changeset/249923>
Chris Dumez
Comment 8 2019-09-16 14:52:12 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9 2019-09-16 14:53:18 PDT
Note You need to log in before you can comment on or make changes to this bug.