Bug 255382
| Summary: | Introduce AttributeName enumeration | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | WebCore Misc. | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=255420 | ||
| Bug Depends on: | 255258 | ||
| Bug Blocks: | |||
Chris Dumez
Introduce AttributeName enumeration for all attribute names. We have a lot of code that can benefit from this enumeration to do switch statements instead of consecutive `if` checks. The new code is a bit more efficient.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/12684
EWS
Committed 262929@main (7279f1496728): <https://commits.webkit.org/262929@main>
Reviewed commits have been landed. Closing PR #12684 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/108012231>