Files
sousa-gecko/testing/web-platform/tests/shadow-dom
Joey Arhar 706f2025dc Bug 2040846 [wpt PR 59991] - Fix shadow DOM leak in touch event window event listener, a=testonly
Automatic update from web-platform-tests
Fix shadow DOM leak in touch event window event listener

Before this patch, it was possible to access nodes inside a closed or
user-agent shadow root when the user did a touch input on a node inside
of the shadow root by looking at the touchstart event's
event.changedTouches property, specifically when using an event listener
on the window instead of any other intermediate elements.

Fixed: 513834016
Change-Id: Ibfcf3b23f5048ae776ea3538f6aed4982cf2950b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7857038
Reviewed-by: David Baron <dbaron@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1633060}

--

wpt-commits: 09f89c2811a9fbabad5b245462c15d859c5e2185
wpt-pr: 59991
2026-05-22 14:16:29 +00:00
..