Bug 272358 - Warn apps that use KVC on WKWebViewConfiguration about future breakage
Summary: Warn apps that use KVC on WKWebViewConfiguration about future breakage
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ben Nham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-04-08 16:43 PDT by Ben Nham
Modified: 2024-04-09 13:09 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Nham 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.
Comment 1 Ben Nham 2024-04-08 16:44:23 PDT
rdar://125913705
Comment 2 Ben Nham 2024-04-08 16:45:49 PDT
Pull request: https://github.com/WebKit/WebKit/pull/26996
Comment 3 EWS 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.