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

Issue 2299843002: Fix the page's SSL status not being set on restore. (Closed)

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

Description

Fix the page's SSL status not being set on restore. This regressed in r415186. Also fix it for same page navigations (i.e. user pressing enter in omnibox) since the URL might change there if the server redirects. BUG=642838 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/d208b90ce731f26eaadf615e082b269d753ba2d3 Cr-Commit-Position: refs/heads/master@{#415977}

Patch Set 1 #

Patch Set 2 : add regression test and fix failing tests from initial patch #

Total comments: 6

Patch Set 3 : review comments #

Patch Set 4 : add same page fix and test #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -0 lines) Patch
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 2 chunks +73 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 2 3 2 chunks +10 lines, -0 lines 2 comments Download

Messages

Total messages: 33 (23 generated)
jam
4 years, 3 months ago (2016-09-01 01:04:49 UTC) #9
nasko
https://codereview.chromium.org/2299843002/diff/20001/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): https://codereview.chromium.org/2299843002/diff/20001/chrome/browser/ssl/ssl_browser_tests.cc#newcode3136 chrome/browser/ssl/ssl_browser_tests.cc:3136: NavigationEntry* entry = tab->GetController().GetActiveEntry(); GetLastCommittedEntry(). GetActiveEntry is deprecated. https://codereview.chromium.org/2299843002/diff/20001/content/browser/frame_host/navigation_controller_impl.cc ...
4 years, 3 months ago (2016-09-01 01:35:30 UTC) #11
jam
https://codereview.chromium.org/2299843002/diff/20001/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): https://codereview.chromium.org/2299843002/diff/20001/chrome/browser/ssl/ssl_browser_tests.cc#newcode3136 chrome/browser/ssl/ssl_browser_tests.cc:3136: NavigationEntry* entry = tab->GetController().GetActiveEntry(); On 2016/09/01 01:35:29, nasko (slow) ...
4 years, 3 months ago (2016-09-01 02:58:56 UTC) #14
nasko
https://codereview.chromium.org/2299843002/diff/20001/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/2299843002/diff/20001/content/browser/frame_host/navigation_controller_impl.cc#newcode1193 content/browser/frame_host/navigation_controller_impl.cc:1193: entry->GetSSL() = handle->ssl_status(); On 2016/09/01 02:58:56, jam wrote: > ...
4 years, 3 months ago (2016-09-01 06:27:55 UTC) #20
jam
https://codereview.chromium.org/2299843002/diff/20001/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/2299843002/diff/20001/content/browser/frame_host/navigation_controller_impl.cc#newcode1193 content/browser/frame_host/navigation_controller_impl.cc:1193: entry->GetSSL() = handle->ssl_status(); On 2016/09/01 06:27:55, nasko (slow) wrote: ...
4 years, 3 months ago (2016-09-01 15:44:10 UTC) #23
nasko
LGTM https://codereview.chromium.org/2299843002/diff/60001/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/2299843002/diff/60001/content/browser/frame_host/navigation_controller_impl.cc#newcode1271 content/browser/frame_host/navigation_controller_impl.cc:1271: existing_entry->GetSSL() = rfh->navigation_handle()->ssl_status(); Just out of curiousity, does ...
4 years, 3 months ago (2016-09-01 15:48:46 UTC) #24
jam
https://codereview.chromium.org/2299843002/diff/60001/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/2299843002/diff/60001/content/browser/frame_host/navigation_controller_impl.cc#newcode1271 content/browser/frame_host/navigation_controller_impl.cc:1271: existing_entry->GetSSL() = rfh->navigation_handle()->ssl_status(); On 2016/09/01 15:48:45, nasko (slow) wrote: ...
4 years, 3 months ago (2016-09-01 15:53:01 UTC) #26
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/2299843002/60001
4 years, 3 months ago (2016-09-01 15:53:58 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-01 16:58:34 UTC) #31
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 17:00:32 UTC) #33
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d208b90ce731f26eaadf615e082b269d753ba2d3
Cr-Commit-Position: refs/heads/master@{#415977}

Powered by Google App Engine
This is Rietveld 408576698