Bug 257101

Summary: Deprecate isSpaceOrNewline
Product: WebKit Reporter: Anne van Kesteren <annevk>
Component: Web Template FrameworkAssignee: Anne van Kesteren <annevk>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 255467    

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
Radar WebKit Bug Importer
Comment 1 2023-05-21 00:59:46 PDT
Anne van Kesteren
Comment 2 2023-05-21 01:03:30 PDT
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.