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

Issue 2305093002: Fix incorrect SSL state being shown for client redirects. (Closed)

Created:
4 years, 3 months ago by jam
Modified:
4 years, 3 months ago
Reviewers:
Charlie Reis, felt
CC:
chromium-reviews, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix incorrect SSL state being shown for client redirects. BUG=643173 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/0576b13b74ef273fe311a95cbbb9e1a3bc8045c5 Cr-Commit-Position: refs/heads/master@{#416849}

Patch Set 1 #

Patch Set 2 : update #

Patch Set 3 : fix location.replace for same origin #

Total comments: 3

Patch Set 4 : better fix #

Total comments: 4

Patch Set 5 : update comment #

Patch Set 6 : more tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -4 lines) Patch
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 5 1 chunk +69 lines, -0 lines 0 comments Download
A chrome/test/data/ssl/in_page_navigation_during_load.html View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/ssl/redirect.html View 1 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/ssl/redirect_with_mixed_content.html View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 2 3 4 4 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 56 (38 generated)
jam
4 years, 3 months ago (2016-09-02 21:36:43 UTC) #5
jam
hmm, looking into test failures
4 years, 3 months ago (2016-09-02 22:38:58 UTC) #10
jam
ptal, the failing tests are now fixed
4 years, 3 months ago (2016-09-03 01:22:23 UTC) #13
felt
https://codereview.chromium.org/2305093002/diff/40001/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/2305093002/diff/40001/content/browser/frame_host/navigation_controller_impl.cc#newcode1205 content/browser/frame_host/navigation_controller_impl.cc:1205: if (params.url.GetOrigin() != entry->GetURL().GetOrigin()) Oof. This fixes the obvious ...
4 years, 3 months ago (2016-09-06 20:09:55 UTC) #21
jam
https://codereview.chromium.org/2305093002/diff/40001/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/2305093002/diff/40001/content/browser/frame_host/navigation_controller_impl.cc#newcode1205 content/browser/frame_host/navigation_controller_impl.cc:1205: if (params.url.GetOrigin() != entry->GetURL().GetOrigin()) On 2016/09/06 20:09:55, felt wrote: ...
4 years, 3 months ago (2016-09-06 20:20:37 UTC) #22
felt
lgtm
4 years, 3 months ago (2016-09-06 20:28:19 UTC) #23
jam
https://codereview.chromium.org/2305093002/diff/40001/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/2305093002/diff/40001/content/browser/frame_host/navigation_controller_impl.cc#newcode1205 content/browser/frame_host/navigation_controller_impl.cc:1205: if (params.url.GetOrigin() != entry->GetURL().GetOrigin()) On 2016/09/06 20:20:37, jam wrote: ...
4 years, 3 months ago (2016-09-06 20:28:54 UTC) #24
felt
On 2016/09/06 20:28:54, jam wrote: > https://codereview.chromium.org/2305093002/diff/40001/content/browser/frame_host/navigation_controller_impl.cc > File content/browser/frame_host/navigation_controller_impl.cc (right): > > https://codereview.chromium.org/2305093002/diff/40001/content/browser/frame_host/navigation_controller_impl.cc#newcode1205 > ...
4 years, 3 months ago (2016-09-06 20:31:38 UTC) #25
jam
On 2016/09/06 20:31:38, felt wrote: > On 2016/09/06 20:28:54, jam wrote: > > > https://codereview.chromium.org/2305093002/diff/40001/content/browser/frame_host/navigation_controller_impl.cc ...
4 years, 3 months ago (2016-09-06 20:56:47 UTC) #26
jam
On 2016/09/06 20:56:47, jam wrote: > On 2016/09/06 20:31:38, felt wrote: > > On 2016/09/06 ...
4 years, 3 months ago (2016-09-06 21:24:24 UTC) #27
Charlie Reis
I'm not opposed to the is_in_page check, but I don't understand how it relates to ...
4 years, 3 months ago (2016-09-06 23:43:14 UTC) #33
felt
https://codereview.chromium.org/2305093002/diff/80001/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): https://codereview.chromium.org/2305093002/diff/80001/chrome/browser/ssl/ssl_browser_tests.cc#newcode3203 chrome/browser/ssl/ssl_browser_tests.cc:3203: IN_PROC_BROWSER_TEST_F(SSLUITest, ClientRedirectSSLState) { Can you add more variants of ...
4 years, 3 months ago (2016-09-07 00:03:29 UTC) #34
jam
https://codereview.chromium.org/2305093002/diff/80001/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/2305093002/diff/80001/content/browser/frame_host/navigation_controller_impl.cc#newcode1205 content/browser/frame_host/navigation_controller_impl.cc:1205: // a request and so we need to update ...
4 years, 3 months ago (2016-09-07 00:03:56 UTC) #36
jam
https://codereview.chromium.org/2305093002/diff/80001/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): https://codereview.chromium.org/2305093002/diff/80001/chrome/browser/ssl/ssl_browser_tests.cc#newcode3203 chrome/browser/ssl/ssl_browser_tests.cc:3203: IN_PROC_BROWSER_TEST_F(SSLUITest, ClientRedirectSSLState) { On 2016/09/07 00:03:29, felt wrote: > ...
4 years, 3 months ago (2016-09-07 01:50:49 UTC) #41
felt
lgtm
4 years, 3 months ago (2016-09-07 04:58:53 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2305093002/160001
4 years, 3 months ago (2016-09-07 04:59:33 UTC) #53
commit-bot: I haz the power
Committed patchset #6 (id:160001)
4 years, 3 months ago (2016-09-07 05:13:28 UTC) #54
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 05:15:54 UTC) #56
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/0576b13b74ef273fe311a95cbbb9e1a3bc8045c5
Cr-Commit-Position: refs/heads/master@{#416849}

Powered by Google App Engine
This is Rietveld 408576698