Bug 261016

Summary: Add mutation events tests for ContainerNode::replaceChildren and refactor the code
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED WONTFIX    
Severity: Normal CC: commit-queue, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 261766    
Bug Blocks:    

Ryosuke Niwa
Reported 2023-08-31 22:47:28 PDT
ContainerNode::replaceChildren creates a dummy DocumentFragment during its course of child node replacement logic. Avoid this unnecessary work.
Attachments
Ryosuke Niwa
Comment 1 2023-08-31 22:53:25 PDT
Radar WebKit Bug Importer
Comment 2 2023-09-01 00:14:17 PDT
EWS
Comment 3 2023-09-01 16:13:17 PDT
Committed 267565@main (c177199a72c0): <https://commits.webkit.org/267565@main> Reviewed commits have been landed. Closing PR #17328 and removing active labels.
WebKit Commit Bot
Comment 4 2023-09-19 12:54:18 PDT
Re-opened since this is blocked by bug 261766
Note You need to log in before you can comment on or make changes to this bug.