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

Issue 8305004: Fix HTTP auth multi-profile handling. (Closed)

Created:
9 years, 2 months ago by mattm
Modified:
9 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

Fix HTTP auth multi-profile handling. Convert LoginPromptTest.SupplyRedundantAuths and LoginPromptTest.CancelRedundantAuths to browser_tests. BUG=95175 TEST=Open same site in two profiles (or normal and incognito window) and try authenticating. The window(s) for the other profile should be unaffected. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111428

Patch Set 1 #

Patch Set 2 : add test #

Patch Set 3 : rebase #

Patch Set 4 : add a comment #

Patch Set 5 : convert redundant auth tests to browser tests #

Total comments: 4

Patch Set 6 : review fixes #

Total comments: 4

Patch Set 7 : comment fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -69 lines) Patch
M chrome/browser/ui/login/login_prompt.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/login/login_prompt.cc View 1 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/login/login_prompt_browsertest.cc View 1 2 3 4 5 6 2 chunks +208 lines, -0 lines 0 comments Download
M chrome/browser/ui/login/login_prompt_uitest.cc View 1 2 3 4 1 chunk +0 lines, -69 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
mattm
9 years, 2 months ago (2011-10-14 21:30:49 UTC) #1
mattm
ping. Let me know if I should get someone else to review.
9 years, 2 months ago (2011-10-19 23:18:40 UTC) #2
tonyg
On 2011/10/19 23:18:40, mattm wrote: > ping. Let me know if I should get someone ...
9 years, 2 months ago (2011-10-25 10:08:16 UTC) #3
mattm
tonyg: actually that file doesn't have "set noparent" in it, so anyone could review. I ...
9 years, 1 month ago (2011-10-28 20:23:26 UTC) #4
Miranda Callahan
On 2011/10/28 20:23:26, mattm wrote: > tonyg: actually that file doesn't have "set noparent" in ...
9 years, 1 month ago (2011-10-28 20:28:25 UTC) #5
cbentzel
Adding asanka - he's very familiar with this class.
9 years, 1 month ago (2011-10-28 20:49:47 UTC) #6
cbentzel
Also - is this something we actually want to fix? Let's say you have two ...
9 years, 1 month ago (2011-10-28 20:51:31 UTC) #7
mattm
We want to fix the case where you open a page that uses auth in ...
9 years, 1 month ago (2011-10-28 21:06:46 UTC) #8
cbentzel
On Fri, Oct 28, 2011 at 5:06 PM, <mattm@chromium.org> wrote: > > We want to ...
9 years, 1 month ago (2011-10-28 21:16:38 UTC) #9
mattm
On 2011/10/28 21:16:38, cbentzel wrote: > On Fri, Oct 28, 2011 at 5:06 PM, <mailto:mattm@chromium.org> ...
9 years, 1 month ago (2011-10-28 21:43:49 UTC) #10
asanka
I'm OK with the code change. Although I'd prefer a browsertest, as Chris noted. On ...
9 years, 1 month ago (2011-10-28 22:37:03 UTC) #11
mattm
On 2011/10/28 22:37:03, asanka wrote: > I'm OK with the code change. Although I'd prefer ...
9 years, 1 month ago (2011-11-23 01:29:28 UTC) #12
asanka
Thanks for adding the browsertests! http://codereview.chromium.org/8305004/diff/19002/chrome/browser/ui/login/login_prompt_browsertest.cc File chrome/browser/ui/login/login_prompt_browsertest.cc (right): http://codereview.chromium.org/8305004/diff/19002/chrome/browser/ui/login/login_prompt_browsertest.cc#newcode772 chrome/browser/ui/login/login_prompt_browsertest.cc:772: SetAuthFor(handler_1); Why call SetAuthFor() ...
9 years, 1 month ago (2011-11-23 18:03:34 UTC) #13
mattm
http://codereview.chromium.org/8305004/diff/19002/chrome/browser/ui/login/login_prompt_browsertest.cc File chrome/browser/ui/login/login_prompt_browsertest.cc (right): http://codereview.chromium.org/8305004/diff/19002/chrome/browser/ui/login/login_prompt_browsertest.cc#newcode772 chrome/browser/ui/login/login_prompt_browsertest.cc:772: SetAuthFor(handler_1); On 2011/11/23 18:03:34, asanka wrote: > Why call ...
9 years, 1 month ago (2011-11-23 19:33:30 UTC) #14
asanka
LGTM. Thanks! http://codereview.chromium.org/8305004/diff/21002/chrome/browser/ui/login/login_prompt_browsertest.cc File chrome/browser/ui/login/login_prompt_browsertest.cc (right): http://codereview.chromium.org/8305004/diff/21002/chrome/browser/ui/login/login_prompt_browsertest.cc#newcode700 chrome/browser/ui/login/login_prompt_browsertest.cc:700: // Supply auth in tab 1. Minor ...
9 years, 1 month ago (2011-11-23 19:59:46 UTC) #15
mattm
http://codereview.chromium.org/8305004/diff/21002/chrome/browser/ui/login/login_prompt_browsertest.cc File chrome/browser/ui/login/login_prompt_browsertest.cc (right): http://codereview.chromium.org/8305004/diff/21002/chrome/browser/ui/login/login_prompt_browsertest.cc#newcode700 chrome/browser/ui/login/login_prompt_browsertest.cc:700: // Supply auth in tab 1. On 2011/11/23 19:59:46, ...
9 years, 1 month ago (2011-11-23 20:12:15 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mattm@chromium.org/8305004/26001
9 years, 1 month ago (2011-11-23 20:19:36 UTC) #17
commit-bot: I haz the power
9 years, 1 month ago (2011-11-23 22:22:40 UTC) #18
Change committed as 111428

Powered by Google App Engine
This is Rietveld 408576698