RESOLVED FIXED 211150
Add StringView::isAllSpecialCharacters()
https://bugs.webkit.org/show_bug.cgi?id=211150
Summary Add StringView::isAllSpecialCharacters()
Noam Rosenthal
Reported 2020-04-28 15:38:43 PDT
As a followup to https://bugs.webkit.org/show_bug.cgi?id=208499, avoid creating a StringImpl just for the purpose of testing for whitespace-only.
Attachments
Patch (3.21 KB, patch)
2020-04-28 15:43 PDT, Noam Rosenthal
no flags
Patch for landing (3.50 KB, patch)
2020-04-28 22:21 PDT, Noam Rosenthal
no flags
Patch for landing (3.22 KB, patch)
2020-04-28 23:26 PDT, Noam Rosenthal
no flags
Noam Rosenthal
Comment 1 2020-04-28 15:43:44 PDT
Darin Adler
Comment 2 2020-04-28 15:50:35 PDT
Comment on attachment 397892 [details] Patch Note that TextManipulationController.cpp contains a function named containsOnlyHTMLSpaces.
EWS
Comment 3 2020-04-28 16:31:04 PDT
Patch 397892 does not build
Noam Rosenthal
Comment 4 2020-04-28 22:21:37 PDT
Created attachment 397925 [details] Patch for landing
EWS
Comment 5 2020-04-28 23:06:13 PDT
Patch 397925 does not build
Noam Rosenthal
Comment 6 2020-04-28 23:26:48 PDT
Created attachment 397931 [details] Patch for landing
EWS
Comment 7 2020-04-29 00:09:49 PDT
Committed r260881: <https://trac.webkit.org/changeset/260881> All reviewed patches have been landed. Closing bug and clearing flags on attachment 397931 [details].
Radar WebKit Bug Importer
Comment 8 2020-04-29 00:10:15 PDT
Note You need to log in before you can comment on or make changes to this bug.