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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/ServiceWorkerManager.js

Issue 2623143002: DevTools: insert console message decorations in order
Patch Set: address design comments Created 3 years, 11 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/sdk/ServiceWorkerManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/ServiceWorkerManager.js b/third_party/WebKit/Source/devtools/front_end/sdk/ServiceWorkerManager.js
index 6fe0efe49445a809b28625091d7c82630726dd80..05319edee8c87fcd7768a81fec226279bc3d81ce 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/ServiceWorkerManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/ServiceWorkerManager.js
@@ -606,7 +606,7 @@ SDK.ServiceWorkerContextNamer = class {
var parsedUrl = context.origin.asParsedURL();
var label = parsedUrl ? parsedUrl.lastPathComponentWithFragment() : context.name;
if (version)
- context.setLabel(label + ' #' + version.id + ' (' + version.status + ')');
+ context.setLabel(label, version.id, version.status);
else
context.setLabel(label);
}

Powered by Google App Engine
This is Rietveld 408576698