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

Unified Diff: Source/devtools/front_end/bindings/Linkifier.js

Issue 1262063003: Devtools UI: Remove redundant tooltips (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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: Source/devtools/front_end/bindings/Linkifier.js
diff --git a/Source/devtools/front_end/bindings/Linkifier.js b/Source/devtools/front_end/bindings/Linkifier.js
index 6d52dd2f640118448038632a8c7a1a90b046b74b..7b4e11e17758de46c0ef49a0bc8510b51025bb21 100644
--- a/Source/devtools/front_end/bindings/Linkifier.js
+++ b/Source/devtools/front_end/bindings/Linkifier.js
@@ -90,7 +90,8 @@ WebInspector.Linkifier.linkifyUsingRevealer = function(revealable, text, fallbac
var a = createElement("a");
a.className = (classes || "") + " webkit-html-resource-link";
a.textContent = text.trimMiddle(WebInspector.Linkifier.MaxLengthForDisplayedURLs);
- a.title = title || text;
dgozman 2015/07/30 10:31:20 This change needs explanation.
samli 2015/08/03 01:16:26 Can't find where I was hitting this, sorry. Revert
+ if (title)
+ a.title = title;
if (fallbackHref) {
a.href = fallbackHref;
a.lineNumber = fallbackLineNumber;

Powered by Google App Engine
This is Rietveld 408576698