Bug 1796388 [wpt PR 36563] - Hold reference to toggle-trigger value when triggering...
commit9871bb2def7db777d551b2192c367b1e2aacb69a
authorL. David Baron <dbaron@chromium.org>
Wed, 26 Oct 2022 19:57:33 +0000 (26 19:57 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 7 Nov 2022 10:53:50 +0000 (7 10:53 +0000)
tree92c449bdbef870f339ba2c6b62162a211733943a
parent24d3bfdde87a575e968d465e0a428d66317cddfb
Bug 1796388 [wpt PR 36563] - Hold reference to toggle-trigger value when triggering toggles., a=testonly

Automatic update from web-platform-tests
Hold reference to toggle-trigger value when triggering toggles.

The added test passes with this change, and crashes without the change
(in either a normal Debug configuration or that configuration + ASAN).

(Support for toggles is behind the CSSToggles flag, which is currently
off.)

Bug: 1250716
Change-Id: I16f34f5b7d6794e27cf0792209cf52c6aedd2850
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3964690
Commit-Queue: David Baron <dbaron@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1061933}

--

wpt-commits: 46d52ad3137023a507b7e32142d7bb79fdd03e6a
wpt-pr: 36563
testing/web-platform/tests/css/css-toggle/toggle-trigger-multiple.tentative.html [new file with mode: 0644]