Bug 305029

Summary: Update CSSSelectorList::first() to return a reference
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: CSSAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Chris Dumez
Reported 2026-01-06 20:03:59 PST
Update CSSSelectorList::first() to return a reference instead of a raw pointer and have it call FixedVector's `operator[]` for memory safety.
Attachments
Chris Dumez
Comment 1 2026-01-06 20:05:54 PST
EWS
Comment 2 2026-01-07 14:36:35 PST
Committed 305237@main (266815bc8b19): <https://commits.webkit.org/305237@main> Reviewed commits have been landed. Closing PR #56183 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-01-07 14:37:12 PST
Note You need to log in before you can comment on or make changes to this bug.