Changeset 249691 in webkit
- Timestamp:
- Sep 9, 2019, 8:19:37 PM (7 years ago)
- Location:
- branches/safari-608-branch/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/WebPageProxy.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-608-branch/Source/WebKit/ChangeLog
r249690 r249691 1 2019-09-09 Kocsen Chung <kocsen_chung@apple.com> 2 3 Cherry-pick r249454. rdar://problem/55198071 4 5 [macOS] Unable to open local file from favorites bar 6 https://bugs.webkit.org/show_bug.cgi?id=201444 7 8 Reviewed by Brent Fulgham. 9 10 The sandbox extension handle should be created providing the pid of the receiving process. 11 12 * UIProcess/WebPageProxy.cpp: 13 (WebKit::WebPageProxy::maybeInitializeSandboxExtensionHandle): 14 15 16 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249454 268f45cc-cd09-0410-ab3c-d52691b4dbfc 17 18 2019-09-03 Per Arne Vollan <pvollan@apple.com> 19 20 [macOS] Unable to open local file from favorites bar 21 https://bugs.webkit.org/show_bug.cgi?id=201444 22 23 Reviewed by Brent Fulgham. 24 25 The sandbox extension handle should be created providing the pid of the receiving process. 26 27 * UIProcess/WebPageProxy.cpp: 28 (WebKit::WebPageProxy::maybeInitializeSandboxExtensionHandle): 29 1 30 2019-09-09 Kocsen Chung <kocsen_chung@apple.com> 2 31 -
branches/safari-608-branch/Source/WebKit/UIProcess/WebPageProxy.cpp
r248845 r249691 1054 1054 return; 1055 1055 1056 #if HAVE(SANDBOX_ISSUE_READ_EXTENSION_TO_PROCESS_BY_PID) 1057 if (SandboxExtension::createHandleForReadByPid(resourceDirectoryURL.fileSystemPath(), process.processIdentifier(), sandboxExtensionHandle)) { 1058 m_process->assumeReadAccessToBaseURL(*this, resourceDirectoryURL); 1059 return; 1060 } 1061 #endif 1056 1062 if (SandboxExtension::createHandle(resourceDirectoryURL.fileSystemPath(), SandboxExtension::Type::ReadOnly, sandboxExtensionHandle)) { 1057 1063 m_process->assumeReadAccessToBaseURL(*this, resourceDirectoryURL);
Note:
See TracChangeset
for help on using the changeset viewer.