Bug 314044

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: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
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:38:12 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:38:18 PDT
Abrar Rahman Protyasha
Comment 2 2026-05-04 18:38:34 PDT
*** This bug has been marked as a duplicate of bug 314043 ***
Note You need to log in before you can comment on or make changes to this bug.