Summary: | REGRESSION(r270691): It's impossible to use MobileAsset fonts on macOS | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||||||||
Component: | New Bugs | Assignee: | Myles C. Maxfield <mmaxfield> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | bfulgham, dino, jonlee, pvollan, simon.fraser, thorton, webkit-bug-importer | ||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Attachments: |
|
Description
Myles C. Maxfield
2021-03-01 17:43:40 PST
Created attachment 421893 [details]
WIP
Created attachment 421895 [details]
WIP
Created attachment 421905 [details]
Patch
Comment on attachment 421905 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=421905&action=review Thanks! R=me. > Source/WebKit/UIProcess/WebPageProxy.cpp:10413 > + SandboxExtension::createHandleForMachLookup("com.apple.mobileassetd.v2"_s, WTF::nullopt, mobileAssetHandleV2); Perhaps a new HAVE define could be added to protect this? > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:1103 > + "com.apple.mobileassetd.v2" Is adding this needed when __MAC_OS_X_VERSION_MIN_REQUIRED <= 110000? We should do our best to avoid adding access to new services, also for older OSes. Comment on attachment 421905 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=421905&action=review >> Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:1103 >> + "com.apple.mobileassetd.v2" > > Is adding this needed when __MAC_OS_X_VERSION_MIN_REQUIRED <= 110000? We should do our best to avoid adding access to new services, also for older OSes. Perhaps you could avoid this by having the extension rule below be present for older OSes as well? Then access to this service could be granted through the SPI. Created attachment 422002 [details]
Patch for committing
Committed r273784: <https://commits.webkit.org/r273784> All reviewed patches have been landed. Closing bug and clearing flags on attachment 422002 [details]. |