Changeset 249454 in webkit
- Timestamp:
- Sep 3, 2019 9:11:08 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r249452 r249454 1 2019-09-03 Per Arne Vollan <pvollan@apple.com> 2 3 [macOS] Unable to open local file from favorites bar 4 https://bugs.webkit.org/show_bug.cgi?id=201444 5 6 Reviewed by Brent Fulgham. 7 8 The sandbox extension handle should be created providing the pid of the receiving process. 9 10 * UIProcess/WebPageProxy.cpp: 11 (WebKit::WebPageProxy::maybeInitializeSandboxExtensionHandle): 12 1 13 2019-09-03 Chris Dumez <cdumez@apple.com> 2 14 -
trunk/Source/WebKit/UIProcess/WebPageProxy.cpp
r249350 r249454 1071 1071 return; 1072 1072 1073 #if HAVE(SANDBOX_ISSUE_READ_EXTENSION_TO_PROCESS_BY_PID) 1074 if (SandboxExtension::createHandleForReadByPid(resourceDirectoryURL.fileSystemPath(), process.processIdentifier(), sandboxExtensionHandle)) { 1075 m_process->assumeReadAccessToBaseURL(*this, resourceDirectoryURL); 1076 return; 1077 } 1078 #endif 1073 1079 if (SandboxExtension::createHandle(resourceDirectoryURL.fileSystemPath(), SandboxExtension::Type::ReadOnly, sandboxExtensionHandle)) { 1074 1080 m_process->assumeReadAccessToBaseURL(*this, resourceDirectoryURL);
Note: See TracChangeset
for help on using the changeset viewer.