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    

Description Anne van Kesteren 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.
Comment 1 Radar WebKit Bug Importer 2023-05-21 00:59:46 PDT
<rdar://problem/109621392>
Comment 2 Anne van Kesteren 2023-05-21 01:03:30 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14155
Comment 3 EWS 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.