Web Inspector: RTL: In Timelines > JavaScript & Events, digits for sample count are...
authorbburg@apple.com <bburg@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 May 2017 18:38:57 +0000 (18:38 +0000)
committerbburg@apple.com <bburg@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 May 2017 18:38:57 +0000 (18:38 +0000)
https://bugs.webkit.org/show_bug.cgi?id=171819

Reviewed by Matt Baker.

* UserInterface/Views/ScriptTimelineDataGridNode.js:
(WebInspector.ScriptTimelineDataGridNode.prototype.createCellContent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217232 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/ScriptTimelineDataGridNode.js

index 1028557..0345a65 100644 (file)
@@ -1,3 +1,13 @@
+2017-05-22  Brian Burg  <bburg@apple.com>
+
+        Web Inspector: RTL: In Timelines > JavaScript & Events, digits for sample count are not localized
+        https://bugs.webkit.org/show_bug.cgi?id=171819
+
+        Reviewed by Matt Baker.
+
+        * UserInterface/Views/ScriptTimelineDataGridNode.js:
+        (WebInspector.ScriptTimelineDataGridNode.prototype.createCellContent):
+
 2017-05-22  Nikita Vasilyev  <nvasilyev@apple.com>
 
         Web Inspector: RTL: Text in autocomplete popover should be aligned left
index 8650086..679a9a0 100644 (file)
@@ -150,7 +150,7 @@ WebInspector.ScriptTimelineDataGridNode = class ScriptTimelineDataGridNode exten
             return isNaN(value) ? emDash : Number.secondsToString(value, true);
 
         case "callCount":
-            return isNaN(value) ? emDash : value;
+            return isNaN(value) ? emDash : value.toLocaleString();
         }
 
         return super.createCellContent(columnIdentifier, cell);