WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
259146
Stop using Number.prototype.toLocaleString() for numeric console format specifiers
https://bugs.webkit.org/show_bug.cgi?id=259146
Summary
Stop using Number.prototype.toLocaleString() for numeric console format speci...
Dominic Farolino
Reported
2023-07-12 08:17:05 PDT
As Devin pointed out in
https://github.com/whatwg/console/pull/224#issuecomment-1631837532
, it would be best to not use this for numeric format specifiers, since `console.log(1000)` should probably print the same as `console.log('%i', 1000)`.
Attachments
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2023-07-12 10:34:43 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/15782
EWS
Comment 2
2023-07-12 18:58:45 PDT
Committed
266020@main
(ae256c9a88db): <
https://commits.webkit.org/266020@main
> Reviewed commits have been landed. Closing PR #15782 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2023-07-12 18:59:16 PDT
<
rdar://problem/112170843
>
Devin Rousso
Comment 4
2023-08-01 13:36:31 PDT
***
Bug 259703
has been marked as a duplicate of this bug. ***
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