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

Issue 123363002: rAc: don't open sign in continue url in new tab (Closed)

Created:
6 years, 11 months ago by Evan Stade
Modified:
6 years, 11 months ago
CC:
chromium-reviews, benquan, jam, browser-components-watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Visibility:
Public.

Description

rAc: don't open sign in continue url in new tab BUG=326882, 331127 TEST=rac sign in works Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243030

Patch Set 1 #

Patch Set 2 : testing #

Total comments: 3

Patch Set 3 : fix unit tests #

Total comments: 6

Patch Set 4 : with fake factory #

Patch Set 5 : no fake factory #

Total comments: 3

Patch Set 6 : unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -22 lines) Patch
M chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc View 1 2 3 4 7 chunks +16 lines, -17 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M components/autofill/content/browser/wallet/wallet_service_url.cc View 1 2 3 4 5 3 chunks +11 lines, -3 lines 0 comments Download
M components/autofill/content/browser/wallet/wallet_service_url_unittest.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Evan Stade
not immediately obvious how to write an automated test for this.
6 years, 11 months ago (2014-01-02 19:28:22 UTC) #1
Dan Beam
On 2014/01/02 19:28:22, Evan Stade wrote: > not immediately obvious how to write an automated ...
6 years, 11 months ago (2014-01-02 19:33:18 UTC) #2
Evan Stade
On 2014/01/02 19:33:18, Dan Beam wrote: > On 2014/01/02 19:28:22, Evan Stade wrote: > > ...
6 years, 11 months ago (2014-01-02 19:37:42 UTC) #3
Dan Beam
On 2014/01/02 19:37:42, Evan Stade wrote: > On 2014/01/02 19:33:18, Dan Beam wrote: > > ...
6 years, 11 months ago (2014-01-02 19:39:48 UTC) #4
Evan Stade
tests improved
6 years, 11 months ago (2014-01-02 20:49:27 UTC) #5
Dan Beam
lgtm https://codereview.chromium.org/123363002/diff/70001/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc File chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc (right): https://codereview.chromium.org/123363002/diff/70001/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc#newcode1099 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc:1099: content::PAGE_TRANSITION_LINK, ^ keep this as FORM_SUBMIT https://codereview.chromium.org/123363002/diff/70001/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc#newcode1161 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc:1161: ...
6 years, 11 months ago (2014-01-02 21:43:36 UTC) #6
Dan Beam
not lgtm if we can't trust the page transition we should remove it from the ...
6 years, 11 months ago (2014-01-02 22:05:09 UTC) #7
Evan Stade
OK, it seems like should have put Rachel as the reviewer. Rachel can you review ...
6 years, 11 months ago (2014-01-02 22:07:20 UTC) #8
groby-ooo-7-16
Overall, seems to be doing the right thing - assuming that "the right thing" is ...
6 years, 11 months ago (2014-01-03 00:10:22 UTC) #9
Evan Stade
https://chromiumcodereview.appspot.com/123363002/diff/270001/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc File chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc (right): https://chromiumcodereview.appspot.com/123363002/diff/270001/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc#newcode1099 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc:1099: content::PAGE_TRANSITION_LINK, On 2014/01/03 00:10:22, groby wrote: > Question - ...
6 years, 11 months ago (2014-01-03 00:14:57 UTC) #10
Evan Stade
https://codereview.chromium.org/123363002/diff/270001/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc File chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc (right): https://codereview.chromium.org/123363002/diff/270001/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc#newcode1065 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc:1065: wallet::SetUseTestingSignInContinueUrl(); On 2014/01/03 00:10:22, groby wrote: > Since this ...
6 years, 11 months ago (2014-01-03 01:47:44 UTC) #11
groby-ooo-7-16
Question: Without the fake factory, doesn't the code go and do actual network requests? Should ...
6 years, 11 months ago (2014-01-03 01:55:56 UTC) #12
groby-ooo-7-16
Sigh. Still goes to a new page.
6 years, 11 months ago (2014-01-03 18:09:03 UTC) #13
groby-ooo-7-16
(So, obviously, not LGTM)
6 years, 11 months ago (2014-01-03 18:09:15 UTC) #14
groby-ooo-7-16
https://codereview.chromium.org/123363002/diff/450001/components/autofill/content/browser/wallet/wallet_service_url.cc File components/autofill/content/browser/wallet/wallet_service_url.cc (right): https://codereview.chromium.org/123363002/diff/450001/components/autofill/content/browser/wallet/wallet_service_url.cc#newcode187 components/autofill/content/browser/wallet/wallet_service_url.cc:187: StartsWith(base::UTF8ToUTF16(url.GetOrigin().spec()), Ah. Here's the bug - you want to ...
6 years, 11 months ago (2014-01-03 18:54:49 UTC) #15
Evan Stade
updated with a test, thanks for pointing out the bug.
6 years, 11 months ago (2014-01-03 23:08:11 UTC) #16
groby-ooo-7-16
LGTM purely based on visual inspection - tried to patch in, but crashes for my ...
6 years, 11 months ago (2014-01-04 02:08:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/123363002/710001
6 years, 11 months ago (2014-01-04 02:12:48 UTC) #18
commit-bot: I haz the power
6 years, 11 months ago (2014-01-04 12:37:27 UTC) #19
Message was sent while issue was closed.
Change committed as 243030

Powered by Google App Engine
This is Rietveld 408576698