[Webkit-unassigned] [Bug 259146] New: Stop using Number.prototype.toLocaleString() for numeric console format specifiers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 12 08:17:05 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=259146

            Bug ID: 259146
           Summary: Stop using Number.prototype.toLocaleString() for
                    numeric console format specifiers
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: domfarolino at gmail.com
                CC: inspector-bugzilla-changes at group.apple.com

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)`.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230712/fbed864f/attachment.htm>


More information about the webkit-unassigned mailing list