[Webkit-unassigned] [Bug 245042] New: Avoid constructing InputType in HTMLInputElement::updateType whenever possible

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 10 20:25:30 PDT 2022


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

            Bug ID: 245042
           Summary: Avoid constructing InputType in
                    HTMLInputElement::updateType whenever possible
           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

Right now, HTMLInputElement::updateType always creates InputType of the new type
just to check whether the type string has changed or not.

Avoid this construction as a perf optimization.

-- 
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/20220911/bd1c9a90/attachment.htm>


More information about the webkit-unassigned mailing list