Some apps needs the WebContent process to be able to access asset services. In these cases, sandbox extensions should be created in the UI process and sent to the WebContent process.
Created attachment 388340 [details] Patch
<rdar://problem/58770894>
Created attachment 388365 [details] Patch
Created attachment 388371 [details] Patch
Created attachment 388379 [details] Patch
Created attachment 388393 [details] Patch
Created attachment 388438 [details] Patch
Created attachment 388441 [details] Patch
Created attachment 388443 [details] Patch
Comment on attachment 388443 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=388443&action=review Looks good! r=me > Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h:491 > +- (void)_revokeAccessToAssetServices WK_API_AVAILABLE(ios(14.0)); Should these be WK_TBA?
Created attachment 388460 [details] Patch
(In reply to Brent Fulgham from comment #10) > Comment on attachment 388443 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=388443&action=review > > Looks good! r=me > > > Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h:491 > > +- (void)_revokeAccessToAssetServices WK_API_AVAILABLE(ios(14.0)); > > Should these be WK_TBA? Fixed. Thanks for reviewing!
Comment on attachment 388460 [details] Patch Clearing flags on attachment: 388460 Committed r254990: <https://trac.webkit.org/changeset/254990>
Reverted r254990 for reason: Breaks watchOS / tvOS builds. Committed r254994: <https://trac.webkit.org/changeset/254994>
Created attachment 388583 [details] Patch
Comment on attachment 388583 [details] Patch Clearing flags on attachment: 388583 Committed r255038: <https://trac.webkit.org/changeset/255038>