Bug 314043

Summary: [TestWebKitAPI] macCatalyst build is broken (FontAttributes.mm:64:89: error: 'objectForKey:' is unavailable: not available on macCatalyst)
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: New BugsAssignee: Abrar Rahman Protyasha <a_protyasha>
Status: RESOLVED FIXED    
Severity: Normal CC: a_protyasha, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Abrar Rahman Protyasha
Reported 2026-05-04 18:37:38 PDT
``` /Tools/TestWebKitAPI/Tests/WebKit/WKWebView/FontAttributes.mm:64:89: error: 'objectForKey:' is unavailable: not available on macCatalyst 64 | NSString *fontTextStyle = [[[fontAttributes objectForKey:@"NSFont"] fontDescriptor] objectForKey:(__bridge NSString *)kCTFontDescriptorTextStyleAttribute]; ```
Attachments
Radar WebKit Bug Importer
Comment 1 2026-05-04 18:37:45 PDT
Abrar Rahman Protyasha
Comment 2 2026-05-04 18:38:34 PDT
*** Bug 314044 has been marked as a duplicate of this bug. ***
Abrar Rahman Protyasha
Comment 3 2026-05-04 19:06:22 PDT
EWS
Comment 4 2026-05-05 17:49:53 PDT
Committed 312657@main (5cb9042cb70d): <https://commits.webkit.org/312657@main> Reviewed commits have been landed. Closing PR #64234 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.