Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NEW-TEST(290390@main): [ iOS ] TestWebKitAPI.UnifiedPDF.SelectionClea…
…rsOnAnchorLinkTap(api-test) is a constant crash https://bugs.webkit.org/show_bug.cgi?id=288400 rdar://145503896 Reviewed by Wenson Hsieh. This test is crashing like this: ``` CRASH: TestWebKitAPI.UnifiedPDF.SelectionClearsOnAnchorLinkTap SHOULD NEVER BE REACHED /Volumes/Data/worker/Apple-iOS-18-Simulator-Debug-Build/build/Source/WebKit/UIProcess/API/Cocoa/WKWebpagePreferences.mm(137) : WebCore::MouseEventPolicy WebKit::coreMouseEventPolicy(_WKWebsiteMouseEventPolicy) 1 0x14c30e084 WebKit::coreMouseEventPolicy(unsigned long) 2 0x14c30dff4 -[WKWebpagePreferences _setMouseEventPolicy:] 3 0x101d13628 TestWebKitAPI::UnifiedPDF_SelectionClearsOnAnchorLinkTap_Test::TestBody() ``` The crash happens in open source iOS configurations because we are not able to handle _WKWebsiteMouseEventPolicySynthesizeTouchEvents, since ENABLE_IOS_TOUCH_EVENTS==0 in these configurations. As such, let us gate this test behind ENABLE(IOS_TOUCH_EVENTS). * Tools/TestWebKitAPI/Tests/WebKitCocoa/UnifiedPDFTests.mm: Canonical link: https://commits.webkit.org/290983@main
- Loading branch information