WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
257101
Deprecate isSpaceOrNewline
https://bugs.webkit.org/show_bug.cgi?id=257101
Summary
Deprecate isSpaceOrNewline
Anne van Kesteren
Reported
2023-05-21 00:59:33 PDT
It looks like it's Unicode White_Space, but it misses U+0085 and U+00A0. Some callers account for the latter, but never the former. And many callers don't even realize. Given that isUnicodeWhitespace exists callers could migrate to that instead. simplifyWhiteSpace and stripWhiteSpace that use this underneath will be dealt with in
bug 257084
.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-05-21 00:59:46 PDT
<
rdar://problem/109621392
>
Anne van Kesteren
Comment 2
2023-05-21 01:03:30 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/14155
EWS
Comment 3
2023-05-22 12:34:36 PDT
Committed
264344@main
(c57f446617de): <
https://commits.webkit.org/264344@main
> Reviewed commits have been landed. Closing PR #14155 and removing active labels.
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