Bug 305352

Summary: Add a fast path for notifyAttributeChanged() when called from parserSetAttributes()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Chris Dumez
Reported 2026-01-12 17:22:51 PST
Add a fast path for notifyAttributeChanged() when called from parserSetAttributes(). When called from parserSetAttributes(), we know that the Element is not connected to the document and has no parent so a lot of work in notifyAttributeChanged() can be avoided.
Attachments
Chris Dumez
Comment 1 2026-01-12 17:24:47 PST
EWS
Comment 2 2026-01-13 03:07:58 PST
Committed 305505@main (1d8414ed7055): <https://commits.webkit.org/305505@main> Reviewed commits have been landed. Closing PR #56470 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-01-13 03:08:14 PST
Note You need to log in before you can comment on or make changes to this bug.