Bug 212166

Summary: Deprecate WKBundlePageSetPolicyClient() Injected bundle C API
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, beidson, ggaren, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Chris Dumez 2020-05-20 13:54:40 PDT
Deprecate WKBundlePageSetPolicyClient() Injected bundle C API. Approving navigations from the injected bundle can lead to WebProcess terminations like in <rdar://problem/60340647> because the WebProcess is not in a position to do sandbox checks when navigating to file URLs.
Comment 1 Chris Dumez 2020-05-20 13:55:59 PDT
Created attachment 399889 [details]
Patch
Comment 2 Alex Christensen 2020-05-20 13:56:33 PDT
Comment on attachment 399889 [details]
Patch

Add internal deprecation pagmas before landing this.
Comment 3 EWS 2020-05-20 14:33:28 PDT
Committed r261960: <https://trac.webkit.org/changeset/261960>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 399889 [details].
Comment 4 Radar WebKit Bug Importer 2020-05-20 14:34:16 PDT
<rdar://problem/63463970>