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

Unified Diff: content/browser/resources/service_worker/serviceworker_internals.js

Issue 305353002: Clean-up serviceworker-internals page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated falken's comments. Created 6 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 | « content/browser/resources/service_worker/serviceworker_internals.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/resources/service_worker/serviceworker_internals.js
diff --git a/content/browser/resources/service_worker/serviceworker_internals.js b/content/browser/resources/service_worker/serviceworker_internals.js
index dfa3f62f68c01f7653f26e7a8a0d07d7466aab85..85cf80c6661d907b87faca4d7027d4b3890ab6bf 100644
--- a/content/browser/resources/service_worker/serviceworker_internals.js
+++ b/content/browser/resources/service_worker/serviceworker_internals.js
@@ -185,11 +185,11 @@ cr.define('serviceworker', function() {
unregistered_versions);
var template;
var container = $('serviceworker-list');
- // Existing templates are keyed by partition_path. This allows
+ // Existing templates are keyed by partition_id. This allows
// the UI to be updated in-place rather than refreshing the
// whole page.
for (var i = 0; i < container.childNodes.length; ++i) {
- if (container.childNodes[i].partition_path == partition_path) {
+ if (container.childNodes[i].partition_id == partition_id) {
template = container.childNodes[i];
}
}
« no previous file with comments | « content/browser/resources/service_worker/serviceworker_internals.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698