Changeset 224827 in webkit
- Timestamp:
- Nov 14, 2017, 11:50:30 AM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r224825 r224827 1 2017-11-14 Alex Christensen <achristensen@webkit.org> 2 3 Remove assertions added in r224791 4 https://bugs.webkit.org/show_bug.cgi?id=178751#c10 5 6 * NetworkProcess/mac/RemoteNetworkingContext.mm: 7 (WebKit::RemoteNetworkingContext::ensureWebsiteDataStoreSession): 8 * WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm: 9 (WebKit::WebFrameNetworkingContext::ensureWebsiteDataStoreSession): 10 I had added assertions that sandbox extension handle consumption succeeds. 11 In the API test IndexedDB.StructuredCloneBackwardCompatibility we get a sandbox extension handle 12 to give access to a directory that does not exist and consumption fails. We want it to fail, 13 so my optimistic addition of a success assertion was incorrect. The test passes without it 14 and behaves like it used to. 15 1 16 2017-11-14 Tim Horton <timothy_horton@apple.com> 2 17 -
trunk/Source/WebKit/NetworkProcess/mac/RemoteNetworkingContext.mm
r224791 r224827 94 94 base = SessionTracker::getIdentifierBase(); 95 95 96 if (!sessionID.isEphemeral()) { 97 bool result = SandboxExtension::consumePermanently(parameters.cookieStoragePathExtensionHandle); 98 ASSERT_UNUSED(result, result); 99 } 96 if (!sessionID.isEphemeral()) 97 SandboxExtension::consumePermanently(parameters.cookieStoragePathExtensionHandle); 100 98 101 99 RetainPtr<CFHTTPCookieStorageRef> uiProcessCookieStorage; -
trunk/Source/WebKit/WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm
r224791 r224827 59 59 base = SessionTracker::getIdentifierBase(); 60 60 61 if (!sessionID.isEphemeral()) { 62 bool result = SandboxExtension::consumePermanently(parameters.cookieStoragePathExtensionHandle); 63 ASSERT_UNUSED(result, result); 64 } 61 if (!sessionID.isEphemeral()) 62 SandboxExtension::consumePermanently(parameters.cookieStoragePathExtensionHandle); 65 63 66 64 RetainPtr<CFHTTPCookieStorageRef> uiProcessCookieStorage;
Note:
See TracChangeset
for help on using the changeset viewer.