Bug 272358

Summary: Warn apps that use KVC on WKWebViewConfiguration about future breakage
Product: WebKit Reporter: Ben Nham <nham>
Component: WebKit Misc.Assignee: Ben Nham <nham>
Status: RESOLVED FIXED    
Severity: Normal CC: nham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Ben Nham
Reported 2024-04-08 16:43:25 PDT
We renamed some ivars in WKWebViewConfiguration in 276117@main. This broke some poorly behaved apps that were accessing ivars on WKWebViewConfiguration via KVC. We'll temporarily allow these apps to continue to function for backwards compat reasons when linking against an older SDK, but log a fault when it happens. When linking against newer SDKs, Foundation will raise an exception about trying to use KVC against a non-existent property for us.
Attachments
Ben Nham
Comment 1 2024-04-08 16:44:23 PDT
Ben Nham
Comment 2 2024-04-08 16:45:49 PDT
EWS
Comment 3 2024-04-09 13:09:52 PDT
Committed 277266@main (04af542fbc0d): <https://commits.webkit.org/277266@main> Reviewed commits have been landed. Closing PR #26996 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.