Bug 259146
| Summary: | Stop using Number.prototype.toLocaleString() for numeric console format specifiers | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dominic Farolino <domfarolino> |
| Component: | Web Inspector | Assignee: | Devin Rousso <hi> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Dominic Farolino
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
Pull request: https://github.com/WebKit/WebKit/pull/15782
EWS
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
<rdar://problem/112170843>
Devin Rousso
*** Bug 259703 has been marked as a duplicate of this bug. ***