RESOLVED FIXED305244
JSC::Yarr::Parser should use std::span<const CharType> parameter
https://bugs.webkit.org/show_bug.cgi?id=305244
Summary JSC::Yarr::Parser should use std::span<const CharType> parameter
David Kilzer (:ddkilzer)
Reported 2026-01-09 18:52:08 PST
JSC::Yarr::Parser should use a std::span<const CharType> parameter instead of WTF::StringView so callers can't accidentally pass a WTF::StringView that's 8-bit into the 16-bit JSC::Yarr::Parser constructor, or vice-versa.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-01-09 18:52:20 PST
David Kilzer (:ddkilzer)
Comment 2 2026-01-09 19:18:39 PST
EWS
Comment 3 2026-01-10 13:52:44 PST
Committed 305416@main (f7ca1591531f): <https://commits.webkit.org/305416@main> Reviewed commits have been landed. Closing PR #56379 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.