Move WKProcessPool._registerURLSchemeServiceWorkersCanHandle to _WKWebsiteDataStoreConfiguration
Created attachment 380171 [details] Patch
Created attachment 380175 [details] Patch
Comment on attachment 380175 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=380175&action=review > Source/WebKit/NetworkProcess/NetworkProcess.cpp:2429 > +void NetworkProcess::addServiceWorkerSession(PAL::SessionID sessionID, bool processTerminationDelayEnabled, HashSet<String>&& registeredSchemes, String& serviceWorkerRegistrationDirectory, const SandboxExtension::Handle& handle) Seems strange to have a String& serviceWorkerRegistrationDirectory. I guess this would be a String&& ideally. > Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm:489 > + [dataStore removeDataOfTypes:[WKWebsiteDataStore allWebsiteDataTypes] modifiedSince:[NSDate distantPast] completionHandler:^() { It might be good to leave a test using the default data store.
Done, and done! http://trac.webkit.org/r250728
<rdar://problem/55985536>