Chromium Code Reviews| 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; |