[Webkit-unassigned] [Bug 258916] New: Avoid unnecessary tree traversal in customElements.define

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 6 02:50:20 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=258916

            Bug ID: 258916
           Summary: Avoid unnecessary tree traversal in
                    customElements.define
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rniwa at webkit.org

customElements.define currently always traverses the entire document to find upgrade candidates.
Avoid this traversal whenever possible by keeping track of the number of upgrade candidates.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230706/fda55f8c/attachment.htm>


More information about the webkit-unassigned mailing list