|
|
Chromium Code Reviews|
Created:
8 years, 4 months ago by battre Modified:
8 years, 4 months ago CC:
chromium-reviews, arv (Not doing code reviews) Base URL:
svn://svn.chromium.org/chrome/trunk/src Visibility:
Public. |
DescriptionFix missing entry showing number of cookies in first domain of chrome://settings/cookies
BUG=130759
TEST=check that the chrome://settings/cookies dialog continues to work as expected
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152309
Patch Set 1 #
Total comments: 2
Patch Set 2 : Merged with ToT #Messages
Total messages: 15 (0 generated)
James or Evan, could either one of you (who feels more familiar with the chrome://settings/cookies dialog) please review this CL. The issue is pretty subtle (side-effects of a constructor) and I have tried to describe it in the CL. Thanks, Dominic
I suggest pinging mdm@ to see if he's able to review (he's not full-time on Chrome).
+Mike as suggested reviewer by James
On 2012/08/09 16:02:12, battre wrote: > +Mike as suggested reviewer by James I'm also on vacation this week. :) I can look next week though.
https://chromiumcodereview.appspot.com/10832224/diff/1/chrome/browser/resourc... File chrome/browser/resources/options2/cookies_list.js (right): https://chromiumcodereview.appspot.com/10832224/diff/1/chrome/browser/resourc... chrome/browser/resources/options2/cookies_list.js:600: if (this.parent_ == undefined || parent.listIndex != -1) { I'm not quite sure I understand the first part of this condition. Why not just "if (parent.listIndex != -1) {" here? Is the idea that if we have no parent right now, then the fake -1 index CookieListItem is OK, but otherwise we want to ignore attempting to set it on top of the previous parent?
http://codereview.chromium.org/10832224/diff/1/chrome/browser/resources/optio... File chrome/browser/resources/options2/cookies_list.js (right): http://codereview.chromium.org/10832224/diff/1/chrome/browser/resources/optio... chrome/browser/resources/options2/cookies_list.js:600: if (this.parent_ == undefined || parent.listIndex != -1) { On 2012/08/14 00:50:56, Mike Mammarella wrote: > I'm not quite sure I understand the first part of this condition. Why not just > "if (parent.listIndex != -1) {" here? Is the idea that if we have no parent > right now, then the fake -1 index CookieListItem is OK, but otherwise we want to > ignore attempting to set it on top of the previous parent? This is actually necessary. This way the parent with an invalid index can be registered once and update the link via the 'listIndexChange' event that we subscribe to below. If we remove the first condition, no summaries are shown at all.
LGTM
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/battre@chromium.org/10832224/1
Presubmit check for 10832224-1 failed and returned exit status 1.
Running presubmit commit checks ...
** Presubmit ERRORS **
Missing LGTM from an OWNER for files in these directories:
chrome/browser/resources/options2
Presubmit checks took 1.5s to calculate.
James, could you please do the OWNERs review and submit it into the CQ if it LGTY? Thanks, Dominic On 2012/08/17 18:38:21, I haz the power (commit-bot) wrote: > Presubmit check for 10832224-1 failed and returned exit status 1. > > > Running presubmit commit checks ... > > ** Presubmit ERRORS ** > Missing LGTM from an OWNER for files in these directories: > chrome/browser/resources/options2 > > Presubmit checks took 1.5s to calculate.
LGTM
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/battre@chromium.org/10832224/1
Failed to apply patch for chrome/browser/resources/options2/cookies_list.js: While running patch -p1 --forward --force; A chrome/browser/resources/options2 patching file chrome/browser/resources/options2/cookies_list.js Hunk #1 FAILED at 597. 1 out of 1 hunk FAILED -- saving rejects to file chrome/browser/resources/options2/cookies_list.js.rej
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/battre@chromium.org/10832224/3002
Change committed as 152309 |
