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 b699590c60ebf87384d8e2e1e87bf512a26f67e0..2e0bc943d00348192dce80f98c57f632395bd88e 100644 |
--- a/Source/devtools/front_end/console/ConsoleViewMessage.js |
+++ b/Source/devtools/front_end/console/ConsoleViewMessage.js |
@@ -1080,7 +1080,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); |