[webkit-changes] [WebKit/WebKit] 2f9c11: NEW-TEST(290390 at main): [ iOS ] TestWebKitAPI.Unifi...
Abrar Rahman Protyasha
noreply at github.com
Mon Feb 24 14:37:35 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2f9c119b986a52177fb403226f4175d9e3e2e7c5
https://github.com/WebKit/WebKit/commit/2f9c119b986a52177fb403226f4175d9e3e2e7c5
Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
Date: 2025-02-24 (Mon, 24 Feb 2025)
Changed paths:
M Tools/TestWebKitAPI/Tests/WebKitCocoa/UnifiedPDFTests.mm
Log Message:
-----------
NEW-TEST(290390 at main): [ iOS ] TestWebKitAPI.UnifiedPDF.SelectionClearsOnAnchorLinkTap(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
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list