|
|
Chromium Code Reviews|
Created:
6 years, 8 months ago by Evan Stade Modified:
6 years, 8 months ago CC:
chromium-reviews, benquan, jam, browser-components-watch_chromium.org, darin-cc_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org Base URL:
svn://svn.chromium.org/chrome/trunk/src Visibility:
Public. |
DescriptionBoldly refuse to show rAc dialog if cc info is not requested.
BUG=361229
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265366
Patch Set 1 #Patch Set 2 : tests #Patch Set 3 : relative #
Total comments: 4
Patch Set 4 : sync #Patch Set 5 : update browsertest #
Messages
Total messages: 26 (0 generated)
depends on https://codereview.chromium.org/232263002/
https://codereview.chromium.org/232353003/diff/40001/chrome/browser/ui/autofi... File chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc (right): https://codereview.chromium.org/232353003/diff/40001/chrome/browser/ui/autofi... chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc:719: } these tests are great, but i meant checking that "unsupported" was returned as the result/reason. can we check that end-to-end in the browser tests?
https://codereview.chromium.org/232353003/diff/40001/chrome/browser/ui/autofi... File chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc (right): https://codereview.chromium.org/232353003/diff/40001/chrome/browser/ui/autofi... chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc:719: } On 2014/04/10 17:54:43, Dan Beam wrote: > these tests are great, but i meant checking that "unsupported" was returned as > the result/reason. can we check that end-to-end in the browser tests? We don't need end-to-end tests to check that, we could check it in this test, however I'm not sure I see the value in adding that degree of specificity.
https://codereview.chromium.org/232353003/diff/40001/chrome/browser/ui/autofi... File chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc (right): https://codereview.chromium.org/232353003/diff/40001/chrome/browser/ui/autofi... chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc:719: } On 2014/04/10 19:50:57, Evan Stade wrote: > On 2014/04/10 17:54:43, Dan Beam wrote: > > these tests are great, but i meant checking that "unsupported" was returned as > > the result/reason. can we check that end-to-end in the browser tests? > > We don't need end-to-end tests to check that, we could check it in this test, > however I'm not sure I see the value in adding that degree of specificity. taking an extra hour (if that) to verify a part of the public HTML API actually works is worth it, imo. if you still disagree, i'm sure others can review or i can write this test for you.
https://codereview.chromium.org/232353003/diff/40001/chrome/browser/ui/autofi... File chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc (right): https://codereview.chromium.org/232353003/diff/40001/chrome/browser/ui/autofi... chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc:719: } On 2014/04/15 02:16:42, Dan Beam wrote: > On 2014/04/10 19:50:57, Evan Stade wrote: > > On 2014/04/10 17:54:43, Dan Beam wrote: > > > these tests are great, but i meant checking that "unsupported" was returned > as > > > the result/reason. can we check that end-to-end in the browser tests? > > > > We don't need end-to-end tests to check that, we could check it in this test, > > however I'm not sure I see the value in adding that degree of specificity. > > taking an extra hour (if that) to verify a part of the public HTML API actually > works is worth it, imo. if you still disagree, i'm sure others can review or i > can write this test for you. My preference for unit tests and regression-driven test development hasn't changed over the weekend, so let me know which of the two options you gave is preferable to you.
-dbeam, +groby
not lgtm i don't see why we're adding code until we think it'll be used. you mentioned that we're not sure "unsupported" will be added, so I'd wait until that's decided first before wasting review/implementation cycles.
Reviewing this is not a waste, although it's true that one line may later change from [...]Unsupported[...] to [...]Disabled[...]. Luckily, I've written the test in such a way that it succeeds either way, because all we really care about is that the dialog fails to show. Rachel, please review.
Functionally LGTM - I'll let you and Dan sort out the unsupported issue
The CQ bit was checked by estade@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/232353003/50001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
The CQ bit was checked by estade@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/232353003/70001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
The CQ bit was checked by estade@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/232353003/70001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
The CQ bit was checked by estade@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/232353003/70001
Message was sent while issue was closed.
Change committed as 265366
Message was sent while issue was closed.
On 2014/04/16 15:52:22, groby wrote: > Functionally LGTM - I'll let you and Dan sort out the unsupported issue when did this happen?
Message was sent while issue was closed.
On 2014/04/22 21:37:06, Dan Beam wrote: > On 2014/04/16 15:52:22, groby wrote: > > Functionally LGTM - I'll let you and Dan sort out the unsupported issue > > when did this happen? My understanding from our discussion offline was that you were bowing out of this review. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
