Bug 259146

Summary: Stop using Number.prototype.toLocaleString() for numeric console format specifiers
Product: WebKit Reporter: Dominic Farolino <domfarolino>
Component: Web InspectorAssignee: 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   

Description Dominic Farolino 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)`.
Comment 1 Devin Rousso 2023-07-12 10:34:43 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15782
Comment 2 EWS 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.
Comment 3 Radar WebKit Bug Importer 2023-07-12 18:59:16 PDT
<rdar://problem/112170843>
Comment 4 Devin Rousso 2023-08-01 13:36:31 PDT
*** Bug 259703 has been marked as a duplicate of this bug. ***