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:    

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>