Bug 1762169 [wpt PR 33420] - Do not traverse a slot node if recalculating slot assign...
commitcdd06a541b104f3b58ccf28966e84d4ea419c043
authorMiyoung Shin <myid.shin@igalia.com>
Thu, 7 Apr 2022 18:56:31 +0000 (7 18:56 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 11 Apr 2022 07:44:44 +0000 (11 07:44 +0000)
tree1a2be8f20624c44e3e5de5b28e070e840951b2c1
parentaeeb7bcddc4d433d3cdb1e7cb618e830f3cef635
Bug 1762169 [wpt PR 33420] - Do not traverse a slot node if recalculating slot assignment, a=testonly

Automatic update from web-platform-tests
Do not traverse a slot node if recalculating slot assignment

ClusterFuzz detected the DCHECK crash caused by the recursive slot's
RecalcAssignment when the children are changed. This CL changes not
to traverse the slot node if the slot assignment is already
recalculating.

Bug: 1309343
Change-Id: I55b44efd9ad2f02f15782a19912553c9907c5dab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3555375
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Cr-Commit-Position: refs/heads/main@{#987316}

--

wpt-commits: 15eead7596598ae9231764354e73bb36c678cf6b
wpt-pr: 33420
testing/web-platform/tests/shadow-dom/slot-dir-attach-child-crash.html [new file with mode: 0644]