Bug 195697

Summary: Get rid of NeverDestroyed<SWServerToContextConnection> connectionsByOrigin
Product: WebKit Reporter: youenn fablet <youennf>
Component: Service WorkersAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: achristensen, cdumez
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description youenn fablet 2019-03-13 13:29:19 PDT
Instead, we could rely on NetworkProcess::m_serverToContextConnections.
That might be an opportunity to better separate the organization of the connections from their users so that refactoring like done in https://bugs.webkit.org/show_bug.cgi?id=195649 would be simpler.
Comment 1 youenn fablet 2019-03-13 13:30:17 PDT
This is only needed for configurations where we have more than one NetworkProcess in a given process and service workers running for both.