Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 04af542fbc0df7e688b6799e1dcdc524d16d8015
      
https://github.com/WebKit/WebKit/commit/04af542fbc0df7e688b6799e1dcdc524d16d8015
  Author: Ben Nham <[email protected]>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h
    M Source/WebKit/Platform/Logging.h
    M Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm

  Log Message:
  -----------
  Warn apps that use KVC on WKWebViewConfiguration about future breakage
https://bugs.webkit.org/show_bug.cgi?id=272358
rdar://125913705

Reviewed by Chris Dumez.

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.

* Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h:
* Source/WebKit/Platform/Logging.h:
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
(-[WKWebViewConfiguration setValue:forKey:]):
(-[WKWebViewConfiguration valueForKey:]):

Canonical link: https://commits.webkit.org/277266@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to