Bug 224603

Summary: MacCatalyst WTF HAVE_PDFKIT is not in sync with HAVE_PDFKIT in TestWebKitAPI, build failure
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 222643, 224605    
Bug Blocks: 224602    

Description Kimmo Kinnunen 2021-04-15 05:37:01 PDT
MacCatalyst WTF HAVE_PDFKIT is not in sync with HAVE_PDFKIT in TestWebKitAPI

Breaks link due to missing symbol that is used in TestPDFDocument.m

        ASSERT([m_annotation.get().action isKindOfClass:[PDFActionURL class]]);

(PDFActionURL is missing.
Before regressing in bug 22643, MacCatalyst did not build the test. 
After regressing in bug 22643, MacCatalyst tries to build the test and fails.

The error is silent, since the pattern of defining HAVE_* is that we don't ever define 0. Thus we inherit HAVE_PDFKIT from WTF, even though it's (semantically) not what was intended.
Comment 1 Radar WebKit Bug Importer 2021-04-22 05:37:14 PDT
<rdar://problem/77014628>