WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
294925
Drop CSSSelectorList::next() and port call sites to using modern range loops instead
https://bugs.webkit.org/show_bug.cgi?id=294925
Summary
Drop CSSSelectorList::next() and port call sites to using modern range loops ...
Chris Dumez
Reported
2025-06-24 12:45:13 PDT
Drop CSSSelectorList::next() and port call sites to using modern range loops instead, to avoid dealing with raw pointers. This also restricts the WTF_ALLOW_UNSAFE_BUFFER_USAGE to `CSSSelectorList::const_iterator::operator++()`.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2025-06-24 12:47:21 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/47131
EWS
Comment 2
2025-06-25 11:11:59 PDT
Committed
296627@main
(ca6229de87ba): <
https://commits.webkit.org/296627@main
> Reviewed commits have been landed. Closing PR #47131 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-06-25 11:12:16 PDT
<
rdar://problem/154311616
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug