The child might be destroyed during the loop iteration. Using a while loop we ensure we get the next sibling before the current child is destroyed.
Created attachment 425960 [details] [fast-cq] Patch
Committed r275940 (236502@main): <https://commits.webkit.org/236502@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 425960 [details].
<rdar://problem/76637108>
Comment on attachment 425960 [details] [fast-cq] Patch I tried fast-cq because I thought it hadn't landed when I saw the cq-. Clearing flags to avoid more confusion