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

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

Issue 2457633002: [MD settings] collapse cookie details in subpage (Closed)
Patch Set: merge with master Created 4 years, 1 month 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.html » ('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_tree_node.js
diff --git a/chrome/browser/resources/settings/site_settings/cookie_tree_node.js b/chrome/browser/resources/settings/site_settings/cookie_tree_node.js
index 8dd3b42674942d4ded6c4c1fb56e4b9c8fe337d0..f6c1cbc5d98c54cff5a7558e54d8d587c377b47b 100644
--- a/chrome/browser/resources/settings/site_settings/cookie_tree_node.js
+++ b/chrome/browser/resources/settings/site_settings/cookie_tree_node.js
@@ -134,9 +134,8 @@ cr.define('settings', function() {
*/
getCookieList: function() {
var list = [];
-
- for (var group of this.children_) {
- for (var cookie of group.children_) {
+ for (var child of this.children_) {
+ for (var cookie of child.children_) {
list.push({title: cookie.data.title,
id: cookie.data.id,
data: cookie.data});
« no previous file with comments | « no previous file | chrome/browser/resources/settings/site_settings/site_data_details_subpage.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698