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

Unified Diff: chrome/browser/resources/settings/site_settings/cookie_info.js

Issue 2687553003: MD Settings: Fix site data details regression and add test. (Closed)
Patch Set: resetRoutForTesting() Created 3 years, 10 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 | chrome/browser/resources/settings/site_settings/site_data_details_subpage.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/site_settings/cookie_info.js
diff --git a/chrome/browser/resources/settings/site_settings/cookie_info.js b/chrome/browser/resources/settings/site_settings/cookie_info.js
index d58eb6e5dfd8b2d21677e51212267a0cb46648b4..ba05b4a2e2c2dc4f2c343d6fa3009d82483bc427 100644
--- a/chrome/browser/resources/settings/site_settings/cookie_info.js
+++ b/chrome/browser/resources/settings/site_settings/cookie_info.js
@@ -76,7 +76,7 @@ var getCookieData = function(data) {
var out = [];
var fields = cookieInfo[data.type];
for (var i = 0; i < fields.length; i++) {
- var field = fields[0];
+ var field = fields[i];
// Iterate through the keys found in |cookieInfo| for the given |type|
// and see if those keys are present in the data. If so, display them
// (in the order determined by |cookieInfo|).
« no previous file with comments | « no previous file | chrome/browser/resources/settings/site_settings/site_data_details_subpage.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698