Index: Source/devtools/front_end/console/ConsoleViewMessage.js |
diff --git a/Source/devtools/front_end/console/ConsoleViewMessage.js b/Source/devtools/front_end/console/ConsoleViewMessage.js |
index dbe508274e63e5041259692e8467220e2e98e45e..0287f46cb15e3fb83740c40ce4c2a8e914573c13 100644 |
--- a/Source/devtools/front_end/console/ConsoleViewMessage.js |
+++ b/Source/devtools/front_end/console/ConsoleViewMessage.js |
@@ -1083,7 +1083,7 @@ WebInspector.ConsoleViewMessage.prototype = { |
if (!asyncTrace.callFrames || !asyncTrace.callFrames.length) |
break; |
var content = document.createElementWithClass("div", "stacktrace-entry"); |
- var description = asyncTrace.description ? asyncTrace.description + " " + WebInspector.UIString("(async)") : WebInspector.UIString("Async Call"); |
+ var description = WebInspector.asyncStackTraceLabel(asyncTrace.description); |
content.createChild("span", "console-message-text source-code console-async-trace-text").textContent = description; |
parentTreeElement.appendChild(new TreeElement(content)); |
appendStackTrace.call(this, asyncTrace.callFrames); |