Index: Source/devtools/front_end/bindings/ResourceUtils.js |
diff --git a/Source/devtools/front_end/bindings/ResourceUtils.js b/Source/devtools/front_end/bindings/ResourceUtils.js |
index 0c7375aeba08718f6130e59bd8b69c8ea75e9cdd..d304e59fc894ee9ebcc1f68b11156c4848fe14e9 100644 |
--- a/Source/devtools/front_end/bindings/ResourceUtils.js |
+++ b/Source/devtools/front_end/bindings/ResourceUtils.js |
@@ -177,9 +177,7 @@ WebInspector.linkifyURLAsNode = function(url, linkText, classes, isExternal, too |
if (href !== null) |
a.href = href; |
a.className = classes; |
- if (typeof tooltipText === "undefined") |
- a.title = url; |
dgozman
2015/07/30 10:31:20
This one needs explanation too.
samli
2015/08/03 01:16:26
Updated. If the url is already displayed on the pa
|
- else if (typeof tooltipText !== "string" || tooltipText.length) |
+ if (tooltipText && tooltipText.length) |
a.title = tooltipText; |
a.textContent = linkText.trimMiddle(WebInspector.Linkifier.MaxLengthForDisplayedURLs); |
if (isExternal) |