Bug 288400
| Summary: | NEW-TEST(290390@main): [ iOS ] TestWebKitAPI.UnifiedPDF.SelectionClearsOnAnchorLinkTap(api-test) is a constant crash | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dawn Morningstar <Morningstar> |
| Component: | New Bugs | Assignee: | Abrar Rahman Protyasha <a_protyasha> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | a_protyasha, webkit-bot-watchers-bugzilla, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Dawn Morningstar
TestWebKitAPI.UnifiedPDF.SelectionClearsOnAnchorLinkTap
Is a constant crash since it was added at 290390@main https://commits.webkit.org/290390@main
HISTORY:
https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.UnifiedPDF.SelectionClearsOnAnchorLinkTap
TEST-RUN:
https://build.webkit.org/#/builders/1392/builds/385
STDIO:
https://build.webkit.org/#/builders/1392/builds/385/steps/22/logs/stdio
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()
4 0x102211328 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
5 0x1021cfee4 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
6 0x1021cfe34 testing::Test::Run()
7 0x1021d0d80 testing::TestInfo::Run()
8 0x1021d1f60 testing::TestSuite::Run()
9 0x1021dfc0c testing::internal::UnitTestImpl::RunAllTests()
10 0x1022161bc bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
11 0x1021df5c8 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
12 0x1021df524 testing::UnitTest::Run()
13 0x10159ef48 RUN_ALL_TESTS()
14 0x10159eedc TestWebKitAPI::TestsController::run(int, char**)
15 0x1021c38cc main
16 0x104b3d410 15 dyld 0x0000000104b3d410 start_sim + 20
17 0x104d96274 16 ??? 0x0000000104d96274 0x0 + 4376322676
Child process terminated with signal 5: Trace/BPT trap
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/145503896>
Abrar Rahman Protyasha
This test is crashing because `ENABLE_IOS_TOUCH_EVENTS==0` in open source iOS EWS and we don't know how to handle `_WKWebsiteMouseEventPolicySynthesizeTouchEvents` in this configuration.
```
static WebCore::MouseEventPolicy coreMouseEventPolicy(_WKWebsiteMouseEventPolicy policy)
{
switch (policy) {
case _WKWebsiteMouseEventPolicyDefault:
return WebCore::MouseEventPolicy::Default;
#if ENABLE(IOS_TOUCH_EVENTS)
case _WKWebsiteMouseEventPolicySynthesizeTouchEvents:
return WebCore::MouseEventPolicy::SynthesizeTouchEvents;
#endif
}
ASSERT_NOT_REACHED();
return WebCore::MouseEventPolicy::Default;
}
```
Abrar Rahman Protyasha
Pull request: https://github.com/WebKit/WebKit/pull/41229
EWS
Committed 290983@main (2f9c119b986a): <https://commits.webkit.org/290983@main>
Reviewed commits have been landed. Closing PR #41229 and removing active labels.