Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: de87f88f433ab2aacabbaaa7241c7ef2cc1979de
https://github.com/WebKit/WebKit/commit/de87f88f433ab2aacabbaaa7241c7ef2cc1979de
Author: David Kilzer <[email protected]>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M Tools/TestWebKitAPI/Tests/WTF/Vector.cpp
M Tools/WebKitTestRunner/ios/HIDEventGenerator.mm
Log Message:
-----------
REGRESSION (279702@main): [ iOS ] fast/shadow-dom/touch-event-ios.html is
constantly crashing.
<https://bugs.webkit.org/show_bug.cgi?id=275752>
<rdar://130217217>
Reviewed by Alexey Proskuryakov.
* Tools/TestWebKitAPI/Tests/WTF/Vector.cpp:
(TestWebKitAPI::TEST(WTF_Vector, Basic)):
(TestWebKitAPI::TEST(WTF_Vector, ZeroSize)): Add.
- Update tests to verify .data() and to explicity test a zero-size
Vector.
* Tools/WebKitTestRunner/ios/HIDEventGenerator.mm:
(-[HIDEventGenerator touchDown:touchCount:]):
(-[HIDEventGenerator liftUp:touchCount:]):
(-[HIDEventGenerator moveToPoints:touchCount:duration:]):
- Use .data() instead of [0] array offset since .data() returns nullptr
if the Vector is empty.
Canonical link: https://commits.webkit.org/280269@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes