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

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

Issue 2644753002: DevTools: untruncate links on copy (Closed)
Patch Set: a Created 3 years, 9 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: third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
index 66bd6c65c6b197ea0e0fd16103832600bb749da9..6a110155b707dbc283bd3d5a6547463bff3e7eb0 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
@@ -171,7 +171,7 @@ Sources.CallStackSidebarPane = class extends UI.SimpleView {
var uiLocation = liveLocation.uiLocation();
if (!uiLocation)
return;
- var text = uiLocation.linkText();
+ var text = uiLocation.linkText(true /* skipTrim */);
allada 2017/03/28 01:13:08 Are we sure we want to show the full data in text?
luoe 2017/03/31 21:35:21 I tried it out, and it doesn't look good with a hu
allada 2017/03/31 23:17:33 Acknowledged.
linkElement.textContent = text.trimMiddle(30);
linkElement.title = text;
}
@@ -367,7 +367,7 @@ Sources.CallStackSidebarPane = class extends UI.SimpleView {
var location = this._itemLocation(item);
if (location) {
var uiLocation = Bindings.debuggerWorkspaceBinding.rawLocationToUILocation(location);
- itemText += ' (' + uiLocation.linkText() + ')';
+ itemText += ' (' + uiLocation.linkText(true /* skipTrim */) + ')';
}
text.push(itemText);
}

Powered by Google App Engine
This is Rietveld 408576698