Bug 224603 - MacCatalyst WTF HAVE_PDFKIT is not in sync with HAVE_PDFKIT in TestWebKitAPI, build failure
Summary: MacCatalyst WTF HAVE_PDFKIT is not in sync with HAVE_PDFKIT in TestWebKitAPI,...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 222643 224605
Blocks: 224602
  Show dependency treegraph
 
Reported: 2021-04-15 05:37 PDT by Kimmo Kinnunen
Modified: 2021-04-22 05:37 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>