Changeset 285130 in webkit
- Timestamp:
- Nov 1, 2021 2:04:45 PM (9 months ago)
- Location:
- trunk/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
-
trunk/Source/WTF/ChangeLog
r285114 r285130 1 2021-11-01 Per Arne <pvollan@apple.com> 2 3 [macOS] Opening local html files is failing 4 https://bugs.webkit.org/show_bug.cgi?id=232572 5 <rdar://81330442> 6 7 Reviewed by Brent Fulgham. 8 9 Declare sandbox flag. 10 11 * wtf/spi/darwin/SandboxSPI.h: 12 1 13 2021-11-01 Tim Horton <timothy_horton@apple.com> 2 14 -
trunk/Source/WTF/wtf/spi/darwin/SandboxSPI.h
r277104 r285130 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); -
trunk/Source/WebKit/ChangeLog
r285127 r285130 1 2021-11-01 Per Arne <pvollan@apple.com> 2 3 [macOS] Opening local html files is failing 4 https://bugs.webkit.org/show_bug.cgi?id=232572 5 <rdar://81330442> 6 7 Reviewed by Brent Fulgham. 8 9 On some macOS versions, opening local html files is failing. In order for the WebContent process 10 to successfully issue the file extension to the Networking process, the flags for the extension 11 in the WebContent process must include the user intent flag when the extension is issued with an 12 audit token. 13 14 * Shared/Cocoa/SandboxExtensionCocoa.mm: 15 (WebKit::SandboxExtensionImpl::sandboxExtensionForType): 16 1 17 2021-11-01 Fujii Hironori <Hironori.Fujii@sony.com> 2 18 -
trunk/Source/WebKit/Shared/Cocoa/SandboxExtensionCocoa.mm
r281277 r285130 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.