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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkersView.js

Issue 2902273002: DevTools: convert linkifyURL params into options object (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkersView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkersView.js b/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkersView.js
index 725c84c3786da45fa9d9536fd0912e03e6a12a53..11dedc028384783519fb69fb148820d18920fb7a 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkersView.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkersView.js
@@ -261,7 +261,7 @@ Resources.ServiceWorkersView.Section = class {
var scriptElement = this._section.appendField(Common.UIString('Source'));
scriptElement.removeChildren();
var fileName = Common.ParsedURL.extractName(active.scriptURL);
- scriptElement.appendChild(Components.Linkifier.linkifyURL(active.scriptURL, fileName));
+ scriptElement.appendChild(Components.Linkifier.linkifyURL({url: active.scriptURL, text: fileName}));
scriptElement.createChild('div', 'report-field-value-subtitle').textContent =
Common.UIString('Received %s', new Date(active.scriptResponseTime * 1000).toLocaleString());

Powered by Google App Engine
This is Rietveld 408576698