Bug 255382 - Introduce AttributeName enumeration
Summary: Introduce AttributeName enumeration
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on: 255258
Blocks:
  Show dependency treegraph
 
Reported: 2023-04-12 19:00 PDT by Chris Dumez
Modified: 2023-04-13 16:23 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2023-04-12 19:00:57 PDT
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.
Comment 1 Chris Dumez 2023-04-12 19:08:31 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12684
Comment 2 EWS 2023-04-13 13:47:20 PDT
Committed 262929@main (7279f1496728): <https://commits.webkit.org/262929@main>

Reviewed commits have been landed. Closing PR #12684 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-04-13 13:48:23 PDT
<rdar://problem/108012231>