servo/components
Bi Fuguo a22f95a6a7
Fix the problem that touchmove crashes occasionally. Fix crash when multiple touch cancels occur (#35763)
* Fix the problem that touchmove crashes occasionally.
Check whether touchSequenceInfo exists when touch_sequence_map is modified in on_touch_event_processed.

Signed-off-by: kongbai1996 <1782765876@qq.com>

* Remove outdated todo.

We already transition to Finished in `on_touch_cancel`
in the Touch handler, so we don't need any logic
in the event handler.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

---------

Signed-off-by: kongbai1996 <1782765876@qq.com>
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Co-authored-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2025-03-03 15:30:57 +00:00
..
allocator Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
background_hang_monitor Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
bluetooth Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
canvas Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
compositing Fix the problem that touchmove crashes occasionally. Fix crash when multiple touch cancels occur (#35763) 2025-03-03 15:30:57 +00:00
config compositing: Move image output and shutdown management out of the compositor (#35538) 2025-02-20 18:27:49 +00:00
constellation Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
dom_struct script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
domobject_derive Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
fonts Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
geometry servoshell: Allow overriding screen resolution with a command-line argument (#34038) 2024-10-30 11:54:13 +00:00
hyper_serde Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
jstraceable_derive Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
layout Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
layout_2020 Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
layout_thread Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
layout_thread_2020 Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
malloc_size_of libservo: Convert intercept_web_resource_load into load_web_resource (#35564) 2025-02-21 14:36:42 +00:00
media Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
metrics Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
net Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
pixels pixels: Fix webp detection (#35474) 2025-02-19 11:09:16 +00:00
profile Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
rand Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
range Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
script script: Mark callback methods with CanGc. (#35753) 2025-03-03 12:17:25 +00:00
script_bindings script: Mark callback methods with CanGc. (#35753) 2025-03-03 12:17:25 +00:00
servo Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
shared Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
timers Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
url Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
webdriver_server Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
webgpu Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
webxr Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00