Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5cb9042cb70d56982c676f76eae794f6ce1f7c66
      
https://github.com/WebKit/WebKit/commit/5cb9042cb70d56982c676f76eae794f6ce1f7c66
  Author: Abrar Rahman Protyasha <[email protected]>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/FontAttributes.mm

  Log Message:
  -----------
  [TestWebKitAPI] macCatalyst build is broken (FontAttributes.mm:64:89: error: 
'objectForKey:' is unavailable: not available on macCatalyst)
https://bugs.webkit.org/show_bug.cgi?id=314043
rdar://176228243

Reviewed by Aditya Keerthi.

Cast the font to CocoaFont before calling -fontDescriptor so the compiler
resolves to the platform-appropriate descriptor type rather than picking
the unavailable NSFontDescriptor overload from an untyped receiver.

* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/FontAttributes.mm:
(-[FontTextStyleUIDelegate _webView:didChangeFontAttributes:]):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to