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

Unified Diff: Source/devtools/front_end/sources/CallStackSidebarPane.js

Issue 416843002: DevTools: Send async stack trace with Network.Initiator. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased 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
« no previous file with comments | « Source/devtools/front_end/sdk/ConsoleModel.js ('k') | Source/devtools/front_end/ui/UIUtils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sources/CallStackSidebarPane.js
diff --git a/Source/devtools/front_end/sources/CallStackSidebarPane.js b/Source/devtools/front_end/sources/CallStackSidebarPane.js
index a41e399ab352acdf0052cbabd469d9846d82c64b..e933f55b969281741b36e1d4061bb74e3f4e2366 100644
--- a/Source/devtools/front_end/sources/CallStackSidebarPane.js
+++ b/Source/devtools/front_end/sources/CallStackSidebarPane.js
@@ -71,11 +71,7 @@ WebInspector.CallStackSidebarPane.prototype = {
var topStackHidden = (this._hiddenPlacards === this.placards.length);
while (asyncStackTrace) {
- var title = asyncStackTrace.description;
- if (title)
- title += " " + WebInspector.UIString("(async)");
- else
- title = WebInspector.UIString("Async Call");
+ var title = WebInspector.asyncStackTraceLabel(asyncStackTrace.description);
var asyncPlacard = new WebInspector.Placard(title, "");
asyncPlacard.element.addEventListener("click", this._selectNextVisiblePlacard.bind(this, this.placards.length, false), false);
asyncPlacard.element.addEventListener("contextmenu", this._asyncPlacardContextMenu.bind(this, this.placards.length), true);
« no previous file with comments | « Source/devtools/front_end/sdk/ConsoleModel.js ('k') | Source/devtools/front_end/ui/UIUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698