WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
288899
[JSC] Use template parameter for `trimString` function
https://bugs.webkit.org/show_bug.cgi?id=288899
Summary
[JSC] Use template parameter for `trimString` function
Sosuke Suzuki
Reported
2025-02-28 19:45:27 PST
The `trimString` function, used by `String#trim`, `String#trimStart`, and `String#trimEnd`, takes an argument called `trimKind`. Since this value is determined at compile time, this patch changes `trimKind` to be a template parameter.
Attachments
Add attachment
proposed patch, testcase, etc.
Sosuke Suzuki
Comment 1
2025-02-28 19:46:23 PST
Pull request:
https://github.com/WebKit/WebKit/pull/41698
EWS
Comment 2
2025-02-28 21:04:29 PST
Committed
291427@main
(040bf5c5c8b0): <
https://commits.webkit.org/291427@main
> Reviewed commits have been landed. Closing PR #41698 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-02-28 21:05:16 PST
<
rdar://problem/145903742
>
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