Index: third_party/WebKit/Source/devtools/front_end/components/Linkifier.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js b/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js |
index 066190ef070a4b59907a30bfad694e6db80e3f6d..300337873f0cc239e79d0ae557e85389ab827ed0 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js |
+++ b/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js |
@@ -303,10 +303,9 @@ Components.Linkifier = class { |
return; |
Components.Linkifier._bindUILocation(anchor, uiLocation); |
- var text = uiLocation.linkText(); |
var info = Components.Linkifier._linkInfo(anchor); |
- info.originalLinkText = text; |
- text = text.replace(/([a-f0-9]{7})[a-f0-9]{13}[a-f0-9]*/g, '$1\u2026'); |
+ info.originalLinkText = uiLocation.linkText(true /* skipTrim */); |
+ var text = info.originalLinkText.replace(/([a-f0-9]{7})[a-f0-9]{13}[a-f0-9]*/g, '$1\u2026'); |
allada
2017/03/28 01:13:08
This looks very strange to me. I believe it's sayi
luoe
2017/03/31 21:35:21
Done.
|
if (this._maxLength) |
text = text.trimMiddle(this._maxLength); |
anchor.textContent = text; |