Changeset 286017 in webkit
- Timestamp:
- Nov 18, 2021, 11:19:20 AM (5 years ago)
- Location:
- branches/safari-612.3.6.1-branch/Source
- Files:
-
- 4 edited
-
WTF/ChangeLog (modified) (1 diff)
-
WTF/wtf/spi/darwin/SandboxSPI.h (modified) (1 diff)
-
WebKit/ChangeLog (modified) (1 diff)
-
WebKit/Shared/Cocoa/SandboxExtensionCocoa.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-612.3.6.1-branch/Source/WTF/ChangeLog
r285693 r286017 1 2021-11-18 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r285130. rdar://problem/85166839 4 5 [macOS] Opening local html files is failing 6 https://bugs.webkit.org/show_bug.cgi?id=232572 7 <rdar://81330442> 8 9 Reviewed by Brent Fulgham. 10 11 Source/WebKit: 12 13 On some macOS versions, opening local html files is failing. In order for the WebContent process 14 to successfully issue the file extension to the Networking process, the flags for the extension 15 in the WebContent process must include the user intent flag when the extension is issued with an 16 audit token. 17 18 * Shared/Cocoa/SandboxExtensionCocoa.mm: 19 (WebKit::SandboxExtensionImpl::sandboxExtensionForType): 20 21 Source/WTF: 22 23 Declare sandbox flag. 24 25 * wtf/spi/darwin/SandboxSPI.h: 26 27 28 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285130 268f45cc-cd09-0410-ab3c-d52691b4dbfc 29 30 2021-11-01 Per Arne <pvollan@apple.com> 31 32 [macOS] Opening local html files is failing 33 https://bugs.webkit.org/show_bug.cgi?id=232572 34 <rdar://81330442> 35 36 Reviewed by Brent Fulgham. 37 38 Declare sandbox flag. 39 40 * wtf/spi/darwin/SandboxSPI.h: 41 1 42 2021-11-11 Alan Coon <alancoon@apple.com> 2 43 -
branches/safari-612.3.6.1-branch/Source/WTF/wtf/spi/darwin/SandboxSPI.h
r277104 r286017 63 63 extern const uint32_t SANDBOX_EXTENSION_NO_REPORT; 64 64 extern const uint32_t SANDBOX_EXTENSION_CANONICAL; 65 extern const uint32_t SANDBOX_EXTENSION_USER_INTENT; 65 66 66 67 char *sandbox_extension_issue_file(const char *extension_class, const char *path, uint32_t flags); -
branches/safari-612.3.6.1-branch/Source/WebKit/ChangeLog
r285891 r286017 1 2021-11-18 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r285130. rdar://problem/85166839 4 5 [macOS] Opening local html files is failing 6 https://bugs.webkit.org/show_bug.cgi?id=232572 7 <rdar://81330442> 8 9 Reviewed by Brent Fulgham. 10 11 Source/WebKit: 12 13 On some macOS versions, opening local html files is failing. In order for the WebContent process 14 to successfully issue the file extension to the Networking process, the flags for the extension 15 in the WebContent process must include the user intent flag when the extension is issued with an 16 audit token. 17 18 * Shared/Cocoa/SandboxExtensionCocoa.mm: 19 (WebKit::SandboxExtensionImpl::sandboxExtensionForType): 20 21 Source/WTF: 22 23 Declare sandbox flag. 24 25 * wtf/spi/darwin/SandboxSPI.h: 26 27 28 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285130 268f45cc-cd09-0410-ab3c-d52691b4dbfc 29 30 2021-11-01 Per Arne <pvollan@apple.com> 31 32 [macOS] Opening local html files is failing 33 https://bugs.webkit.org/show_bug.cgi?id=232572 34 <rdar://81330442> 35 36 Reviewed by Brent Fulgham. 37 38 On some macOS versions, opening local html files is failing. In order for the WebContent process 39 to successfully issue the file extension to the Networking process, the flags for the extension 40 in the WebContent process must include the user intent flag when the extension is issued with an 41 audit token. 42 43 * Shared/Cocoa/SandboxExtensionCocoa.mm: 44 (WebKit::SandboxExtensionImpl::sandboxExtensionForType): 45 1 46 2021-11-16 Kocsen Chung <kocsen_chung@apple.com> 2 47 -
branches/safari-612.3.6.1-branch/Source/WebKit/Shared/Cocoa/SandboxExtensionCocoa.mm
r281032 r286017 116 116 if (!auditToken) 117 117 return nullptr; 118 #if PLATFORM(MAC) 119 extensionFlags |= SANDBOX_EXTENSION_USER_INTENT; 120 #endif 118 121 return sandbox_extension_issue_file_to_process(APP_SANDBOX_READ, path, extensionFlags, *auditToken); 119 122 }
Note:
See TracChangeset
for help on using the changeset viewer.