Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(643)

Unified Diff: Source/devtools/front_end/console/ConsoleViewMessage.js

Issue 416843002: DevTools: Send async stack trace with Network.Initiator. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698