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.
Pull request: https://github.com/WebKit/WebKit/pull/4231
Committed 254383@main (62339dafa6fc): <https://commits.webkit.org/254383@main> Reviewed commits have been landed. Closing PR #4231 and removing active labels.
<rdar://problem/99823605>