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

Unified Diff: Source/devtools/front_end/audits/AuditFormatters.js

Issue 659573005: DevTools: NetworkPanel: show link where resource timing is explained. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | Source/devtools/front_end/components/ShortcutsScreen.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/audits/AuditFormatters.js
diff --git a/Source/devtools/front_end/audits/AuditFormatters.js b/Source/devtools/front_end/audits/AuditFormatters.js
index bf87e5533ed6e259c62f1746ddf5c4e09d0ea9f0..01d2408ebcc18f0a79b075fff1e0d10a36b10047 100644
--- a/Source/devtools/front_end/audits/AuditFormatters.js
+++ b/Source/devtools/front_end/audits/AuditFormatters.js
@@ -77,13 +77,7 @@ WebInspector.AuditFormatters.Registry = {
*/
url: function(url, displayText, allowExternalNavigation)
{
- var a = createElement("a");
- a.href = sanitizeHref(url);
- a.title = url;
- a.textContent = displayText || url;
- if (allowExternalNavigation)
- a.target = "_blank";
- return a;
+ return WebInspector.createAnchor(url, displayText, !allowExternalNavigation);
},
/**
« no previous file with comments | « no previous file | Source/devtools/front_end/components/ShortcutsScreen.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698