Bug 212166 - Deprecate WKBundlePageSetPolicyClient() Injected bundle C API
Summary: Deprecate WKBundlePageSetPolicyClient() Injected bundle C API
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-05-20 13:54 PDT by Chris Dumez
Modified: 2020-05-20 14:34 PDT (History)
4 users (show)

See Also:


Attachments
Patch (4.38 KB, patch)
2020-05-20 13:55 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>