Title: [187599] trunk/Source/WebInspectorUI
Revision
187599
Author
nvasil...@apple.com
Date
2015-07-30 12:26:29 -0700 (Thu, 30 Jul 2015)

Log Message

Web Inspector: Regression: %c is broken for console.group
https://bugs.webkit.org/show_bug.cgi?id=147436

Reviewed by Timothy Hatcher.

* UserInterface/Views/ConsoleMessageView.js:
(WebInspector.ConsoleMessageView.prototype._appendMessageTextAndArguments):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (187598 => 187599)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-07-30 19:24:06 UTC (rev 187598)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-07-30 19:26:29 UTC (rev 187599)
@@ -1,3 +1,13 @@
+2015-07-30  Nikita Vasilyev  <nvasil...@apple.com>
+
+        Web Inspector: Regression: %c is broken for console.group
+        https://bugs.webkit.org/show_bug.cgi?id=147436
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/ConsoleMessageView.js:
+        (WebInspector.ConsoleMessageView.prototype._appendMessageTextAndArguments):
+
 2015-07-30  Devin Rousso  <drou...@apple.com>
 
         Web Inspector: Add special case for deleting the next character when editing rules in the CSS Sidebar

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js (187598 => 187599)


--- trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js	2015-07-30 19:24:06 UTC (rev 187598)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js	2015-07-30 19:26:29 UTC (rev 187599)
@@ -255,8 +255,8 @@
 
             case WebInspector.ConsoleMessage.MessageType.StartGroup:
             case WebInspector.ConsoleMessage.MessageType.StartGroupCollapsed:
-                var groupName = this._message.messageText || WebInspector.UIString("Group");
-                element.append(groupName);
+                var args = this._message.parameters || [this._message.messageText || WebInspector.UIString("Group")];
+                this._formatWithSubstitutionString(args, element);
                 this._extraParameters = null;
                 break;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to