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

Issue 397453002: Add test case to see if HTTP auth interstitials work nicely with other interstitials (Closed)

Created:
6 years, 5 months ago by meacer
Modified:
6 years, 4 months ago
Reviewers:
msw, Peter Kasting, sky, nasko
CC:
chromium-reviews, Charlie Reis, jschuh
Project:
chromium
Visibility:
Public.

Description

Add test case to see if HTTP auth interstitials work nicely with other interstitials Cross-origin HTTP auth dialogs are shown over a blank interstitial. This didn't work nicely with other interstitials, e.g. an HTTPS resource that triggered a basic HTTP auth dialog would show the SSL warning, and when the user clicked through the warning, the login interstitial would show on top of the SSL interstitial, rather than a blank page. crrev.com/410373003 accidentally fixed that issue. This CL adds tests for the scenario described above. BUG=393597 TEST=LoginPromptBrowserTest.LoginInterstitialShouldReplaceExistingInterstitial Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291137

Patch Set 1 #

Patch Set 2 : Better name for test case #

Total comments: 8

Patch Set 3 : nasko comments #

Total comments: 2

Patch Set 4 : Rebase #

Total comments: 4

Patch Set 5 : msw comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -0 lines) Patch
M chrome/browser/ui/login/login_prompt_browsertest.cc View 1 2 3 4 2 chunks +58 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
meacer
Nasko, can you please take a look? The problem is that this line assumes the ...
6 years, 5 months ago (2014-07-14 23:28:07 UTC) #1
nasko
https://codereview.chromium.org/397453002/diff/20001/chrome/browser/ui/login/login_prompt.cc File chrome/browser/ui/login/login_prompt.cc (right): https://codereview.chromium.org/397453002/diff/20001/chrome/browser/ui/login/login_prompt.cc#newcode515 chrome/browser/ui/login/login_prompt.cc:515: (parent_contents->GetInterstitialPage() || Is it correct that we hit this ...
6 years, 5 months ago (2014-07-17 14:08:44 UTC) #2
meacer
https://codereview.chromium.org/397453002/diff/20001/chrome/browser/ui/login/login_prompt.cc File chrome/browser/ui/login/login_prompt.cc (right): https://codereview.chromium.org/397453002/diff/20001/chrome/browser/ui/login/login_prompt.cc#newcode515 chrome/browser/ui/login/login_prompt.cc:515: (parent_contents->GetInterstitialPage() || On 2014/07/17 14:08:44, nasko (in Munich) wrote: ...
6 years, 5 months ago (2014-07-17 22:08:18 UTC) #3
nasko
lgtm
6 years, 5 months ago (2014-07-18 13:25:36 UTC) #4
meacer
The CQ bit was checked by meacer@chromium.org
6 years, 5 months ago (2014-07-18 17:10:23 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/meacer@chromium.org/397453002/40001
6 years, 5 months ago (2014-07-18 17:11:40 UTC) #6
meacer
sky: Could you please take a look as OWNERS?
6 years, 5 months ago (2014-07-18 19:14:28 UTC) #7
sky
I'm not familiar with this code. Can you find another owner that knows more about ...
6 years, 5 months ago (2014-07-18 19:38:04 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-18 19:55:03 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-18 19:58:41 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/80972)
6 years, 5 months ago (2014-07-18 19:58:42 UTC) #11
meacer
sky: Sure, though I added you since you reviewed crrev.com/276123002 earlier :) pkasting: I think ...
6 years, 5 months ago (2014-07-18 20:03:29 UTC) #12
meacer
On 2014/07/18 20:03:29, Mustafa Emre Acer wrote: > sky: Sure, though I added you since ...
6 years, 5 months ago (2014-07-25 18:51:02 UTC) #13
meacer
pkasting: Another ping?
6 years, 4 months ago (2014-07-30 21:47:50 UTC) #14
meacer
-pkasting +msw: Can you please take a look as owner? Thanks.
6 years, 4 months ago (2014-08-01 16:39:11 UTC) #15
msw
https://codereview.chromium.org/397453002/diff/40001/chrome/browser/ui/login/login_prompt.cc File chrome/browser/ui/login/login_prompt.cc (right): https://codereview.chromium.org/397453002/diff/40001/chrome/browser/ui/login/login_prompt.cc#newcode513 chrome/browser/ui/login/login_prompt.cc:513: // origin request or if there is an existing ...
6 years, 4 months ago (2014-08-01 17:09:48 UTC) #16
meacer
https://codereview.chromium.org/397453002/diff/40001/chrome/browser/ui/login/login_prompt.cc File chrome/browser/ui/login/login_prompt.cc (right): https://codereview.chromium.org/397453002/diff/40001/chrome/browser/ui/login/login_prompt.cc#newcode513 chrome/browser/ui/login/login_prompt.cc:513: // origin request or if there is an existing ...
6 years, 4 months ago (2014-08-01 17:25:56 UTC) #17
Peter Kasting
FWIW, I'm sorry for never responding when you pinged me -- somehow I never saw ...
6 years, 4 months ago (2014-08-02 01:10:00 UTC) #18
meacer
On 2014/08/02 01:10:00, Peter Kasting wrote: > FWIW, I'm sorry for never responding when you ...
6 years, 4 months ago (2014-08-02 01:12:31 UTC) #19
meacer
Good news: https://codereview.chromium.org/410373003/ fixed this bug too. msw: Can you please take a look at ...
6 years, 4 months ago (2014-08-18 20:19:55 UTC) #20
msw
You should update the CL description and have this latest patch set reviewed by someone ...
6 years, 4 months ago (2014-08-19 01:16:39 UTC) #21
meacer
PTAL. nasko: Can you please take another look at the test case? It didn't change ...
6 years, 4 months ago (2014-08-20 20:13:45 UTC) #22
nasko
Still LGTM
6 years, 4 months ago (2014-08-20 23:22:22 UTC) #23
meacer
Thanks nasko. Can I please get an lgtm from one of the owners? :)
6 years, 4 months ago (2014-08-21 03:10:24 UTC) #24
msw
lgtm
6 years, 4 months ago (2014-08-21 03:17:39 UTC) #25
meacer
Thanks!
6 years, 4 months ago (2014-08-21 03:26:50 UTC) #26
meacer
The CQ bit was checked by meacer@chromium.org
6 years, 4 months ago (2014-08-21 03:26:55 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/meacer@chromium.org/397453002/80001
6 years, 4 months ago (2014-08-21 03:27:24 UTC) #28
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-21 04:54:38 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-21 05:22:37 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/5455)
6 years, 4 months ago (2014-08-21 05:22:38 UTC) #31
meacer
The CQ bit was checked by meacer@chromium.org
6 years, 4 months ago (2014-08-21 17:54:03 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/meacer@chromium.org/397453002/80001
6 years, 4 months ago (2014-08-21 17:56:37 UTC) #33
commit-bot: I haz the power
6 years, 4 months ago (2014-08-21 18:30:42 UTC) #34
Message was sent while issue was closed.
Committed patchset #5 (80001) as 291137

Powered by Google App Engine
This is Rietveld 408576698