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

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

Issue 2902273002: DevTools: convert linkifyURL params into options object (Closed)
Patch Set: rebase and ac 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/resources/AppManifestView.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bf07b15f7650d235ded15e236c4e3991088120ab..e35179c9edeaf750915bc1a1fb0ce3c393881eb7 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(active.scriptURL, {text: fileName}));
scriptElement.createChild('div', 'report-field-value-subtitle').textContent =
Common.UIString('Received %s', new Date(active.scriptResponseTime * 1000).toLocaleString());
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/resources/AppManifestView.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698