Skip to content

[iOS] TouchEventTests.DestroyWebViewWhileHandlingTouchEnd crashes after 286448@main#37352

Merged
webkit-commit-queue merged 1 commit intoWebKit:mainfrom
whsieh:eng/283955
Dec 3, 2024
Merged

[iOS] TouchEventTests.DestroyWebViewWhileHandlingTouchEnd crashes after 286448@main#37352
webkit-commit-queue merged 1 commit intoWebKit:mainfrom
whsieh:eng/283955

Conversation

@whsieh
Copy link
Member

@whsieh whsieh commented Dec 3, 2024

3744c7e

[iOS] TouchEventTests.DestroyWebViewWhileHandlingTouchEnd crashes after 286448@main
https://bugs.webkit.org/show_bug.cgi?id=283955

Reviewed by Richard Robinson.

286448@main refactored `-_touchEventsRecognized:` such that it no longer takes the gesture
recognizer as an argument, but didn't update an API test that forward declares and directly calls
into this selector on the content view. Fix this by updating the test.

* Tools/TestWebKitAPI/Tests/ios/TouchEventTests.mm:
(TestWebKitAPI::TEST(TouchEventTests, DestroyWebViewWhileHandlingTouchEnd)):
(-[WKWebView touchEventGestureRecognizer]): Deleted.

Canonical link: https://commits.webkit.org/287250@main

ba2510c

Misc iOS, visionOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe ✅ 🛠 win
✅ 🧪 bindings 🛠 ios-sim ✅ 🛠 mac-AS-debug 🧪 wpe-wk2 🧪 win-tests
✅ 🧪 webkitperl 🧪 ios-wk2 ✅ 🧪 api-mac ✅ 🧪 api-wpe
🧪 ios-wk2-wpt ✅ 🧪 mac-wk1 ✅ 🛠 wpe-cairo
🧪 api-ios ✅ 🧪 mac-wk2 ✅ 🛠 gtk
✅ 🛠 vision 🧪 mac-AS-debug-wk2 🧪 gtk-wk2
✅ 🛠 vision-sim ✅ 🧪 mac-wk2-stress 🧪 api-gtk
✅ 🛠 🧪 merge 🧪 vision-wk2 🧪 mac-intel-wk2
✅ 🛠 tv
🛠 tv-sim
🛠 watch
🛠 watch-sim

@whsieh whsieh self-assigned this Dec 3, 2024
@whsieh whsieh added the Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases label Dec 3, 2024
@whsieh whsieh added the merge-queue Applied to send a pull request to merge-queue label Dec 3, 2024
@whsieh
Copy link
Member Author

whsieh commented Dec 3, 2024

Thanks for the review!

…er 286448@main

https://bugs.webkit.org/show_bug.cgi?id=283955

Reviewed by Richard Robinson.

286448@main refactored `-_touchEventsRecognized:` such that it no longer takes the gesture
recognizer as an argument, but didn't update an API test that forward declares and directly calls
into this selector on the content view. Fix this by updating the test.

* Tools/TestWebKitAPI/Tests/ios/TouchEventTests.mm:
(TestWebKitAPI::TEST(TouchEventTests, DestroyWebViewWhileHandlingTouchEnd)):
(-[WKWebView touchEventGestureRecognizer]): Deleted.

Canonical link: https://commits.webkit.org/287250@main
@webkit-commit-queue
Copy link
Collaborator

Committed 287250@main (3744c7e): https://commits.webkit.org/287250@main

Reviewed commits have been landed. Closing PR #37352 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 3744c7e into WebKit:main Dec 3, 2024
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Dec 3, 2024
@whsieh whsieh deleted the eng/283955 branch December 3, 2024 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants