Changeset 238746 in webkit
- Timestamp:
- Nov 30, 2018, 11:37:44 AM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r238745 r238746 1 2018-11-30 Alex Christensen <achristensen@webkit.org> 2 3 Remove unused WebProcessCreationParameters.uiProcessCookieStorageIdentifier 4 https://bugs.webkit.org/show_bug.cgi?id=192157 5 6 Reviewed by Chris Dumez. 7 8 * Shared/WebProcessCreationParameters.cpp: 9 (WebKit::WebProcessCreationParameters::encode const): 10 (WebKit::WebProcessCreationParameters::decode): 11 * Shared/WebProcessCreationParameters.h: 12 * UIProcess/Cocoa/WebProcessPoolCocoa.mm: 13 (WebKit::WebProcessPool::platformInitializeWebProcess): 14 1 15 2018-11-30 Alex Christensen <achristensen@webkit.org> 2 16 -
trunk/Source/WebKit/Shared/WebProcessCreationParameters.cpp
r237294 r238746 58 58 encoder << javaScriptConfigurationDirectory; 59 59 encoder << javaScriptConfigurationDirectoryExtensionHandle; 60 #if PLATFORM(MAC)61 encoder << uiProcessCookieStorageIdentifier;62 #endif63 60 #if PLATFORM(IOS_FAMILY) 64 61 encoder << cookieStorageDirectoryExtensionHandle; … … 221 218 parameters.javaScriptConfigurationDirectoryExtensionHandle = WTFMove(*javaScriptConfigurationDirectoryExtensionHandle); 222 219 223 #if PLATFORM(MAC)224 if (!decoder.decode(parameters.uiProcessCookieStorageIdentifier))225 return false;226 #endif227 220 #if PLATFORM(IOS_FAMILY) 228 221 -
trunk/Source/WebKit/Shared/WebProcessCreationParameters.h
r237281 r238746 85 85 String javaScriptConfigurationDirectory; 86 86 SandboxExtension::Handle javaScriptConfigurationDirectoryExtensionHandle; 87 #if PLATFORM(MAC)88 Vector<uint8_t> uiProcessCookieStorageIdentifier;89 #endif90 87 #if PLATFORM(IOS_FAMILY) 91 88 SandboxExtension::Handle cookieStorageDirectoryExtensionHandle; -
trunk/Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
r238654 r238746 221 221 parameters.networkATSContext = adoptCF(_CFNetworkCopyATSContext()); 222 222 223 #if PLATFORM(MAC)224 ASSERT(parameters.uiProcessCookieStorageIdentifier.isEmpty());225 ASSERT(hasProcessPrivilege(ProcessPrivilege::CanAccessRawCookies));226 parameters.uiProcessCookieStorageIdentifier = identifyingDataFromCookieStorage([[NSHTTPCookieStorage sharedHTTPCookieStorage] _cookieStorage]);227 #endif228 223 #if ENABLE(MEDIA_STREAM) 229 224 // Allow microphone access if either preference is set because WebRTC requires microphone access.
Note:
See TracChangeset
for help on using the changeset viewer.