Bug 302333

Summary: Use a BitSet to hold quirk state
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: New BugsAssignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Brent Fulgham
Reported 2025-11-11 09:50:56 PST
Rather than an ever-growing set of `bool` values, let's represent quirks state using a BitSet. This allows us to do a quick check of whether *any* quirks are active in the current domain, rather than individually testing each one. In theory, this should be a small performance benefit since most sites do not have any relevant quirk and quickly determining this requires fewer steps.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-11-11 09:51:20 PST
Brent Fulgham
Comment 2 2025-11-11 10:15:41 PST
EWS
Comment 3 2025-11-14 23:52:00 PST
Committed 303068@main (45c24f4e4c76): <https://commits.webkit.org/303068@main> Reviewed commits have been landed. Closing PR #53746 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.