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

Unified Diff: third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.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/workspace/UISourceCode.js
diff --git a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
index 4fa5b554791586c37976b94c5f63d1532deb9929..75b258369e59b02b2194e013c9913cc033b90d07 100644
--- a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
+++ b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
@@ -661,10 +661,11 @@ Workspace.UILocation = class {
}
/**
+ * @param {boolean=} skipTrim
* @return {string}
*/
- linkText() {
- var linkText = this.uiSourceCode.displayName();
+ linkText(skipTrim) {
+ var linkText = this.uiSourceCode.displayName(skipTrim);
allada 2017/03/28 01:13:08 I'm worried about data urls. Can we do a test to s
luoe 2017/03/31 21:35:21 Testing methodology: make 10k logs of the sample t
allada 2017/03/31 23:17:33 Acknowledged.
if (typeof this.lineNumber === 'number')
linkText += ':' + (this.lineNumber + 1);
return linkText;

Powered by Google App Engine
This is Rietveld 408576698