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

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

Issue 464343002: DevTools: align call stack rendering with the rest of the panels. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: for landing Created 6 years, 4 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/sources/CallStackSidebarPane.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sources/ThreadsSidebarPane.js
diff --git a/Source/devtools/front_end/sources/ThreadsSidebarPane.js b/Source/devtools/front_end/sources/ThreadsSidebarPane.js
index 89579c9097021fb3cd57a4c4042458af25d52b03..b8527d1258e5a98cc703a3300ced7a823d96184b 100644
--- a/Source/devtools/front_end/sources/ThreadsSidebarPane.js
+++ b/Source/devtools/front_end/sources/ThreadsSidebarPane.js
@@ -29,7 +29,7 @@ WebInspector.ThreadsSidebarPane.prototype = {
*/
targetAdded: function(target)
{
- var placard = new WebInspector.Placard(WebInspector.displayNameForURL(target.name()), "");
+ var placard = new WebInspector.Placard(target.name(), "");
placard.element.addEventListener("click", this._onPlacardClick.bind(this, placard), false);
var currentTarget = WebInspector.context.flavor(WebInspector.Target);
if (currentTarget === target)
@@ -76,7 +76,7 @@ WebInspector.ThreadsSidebarPane.prototype = {
_updateDebuggerState: function(target)
{
var placard = this._targetsToPlacards.get(target);
- placard.subtitle = target.debuggerModel.isPaused() ? WebInspector.UIString("Paused") : WebInspector.UIString("Running");
+ placard.subtitle = target.debuggerModel.isPaused() ? WebInspector.UIString("paused") : WebInspector.UIString("");
},
/**
« no previous file with comments | « Source/devtools/front_end/sources/CallStackSidebarPane.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698