Bug 245042
| Summary: | Avoid constructing InputType in HTMLInputElement::updateType whenever possible | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | DOM | Assignee: | Ryosuke Niwa <rniwa> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, heycam, webkit-bug-importer, ysuzuki |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ryosuke Niwa
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/4231
EWS
Committed 254383@main (62339dafa6fc): <https://commits.webkit.org/254383@main>
Reviewed commits have been landed. Closing PR #4231 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/99823605>