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

Issue 2707133003: Fix SSL certificate being wrong in the intended_as_new_entry fase of NAVIGATION_TYPE_EXISTING_PAGE. (Closed)

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

Description

Fix SSL certificate being wrong in the intended_as_new_entry fase of NAVIGATION_TYPE_EXISTING_PAGE. It turns out that in some rare race conditions, this section of the code could get reached with a different origin for the committed page and the NavigationEntry that was reused. In that case, make sure to use the SSL certificate from the NavigationHandle instead of resusing the old one. BUG=688425 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2707133003 Cr-Commit-Position: refs/heads/master@{#452106} Committed: https://chromium.googlesource.com/chromium/src/+/a78746ec1a1bfa668f5bcb01d2b2665d2c514369

Patch Set 1 #

Total comments: 3

Patch Set 2 : merge #

Patch Set 3 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M content/browser/frame_host/navigation_controller_impl.cc View 1 2 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (13 generated)
jam
3 years, 10 months ago (2017-02-21 19:23:34 UTC) #3
jam
Thanks for tracking this down. Since a repro can't be reached yet to hit the ...
3 years, 10 months ago (2017-02-21 19:24:57 UTC) #6
estark
lgtm; as mentioned in chat, we think there could be another bug lurking in here ...
3 years, 10 months ago (2017-02-21 19:39:42 UTC) #7
jam
https://codereview.chromium.org/2707133003/diff/1/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/2707133003/diff/1/content/browser/frame_host/navigation_controller_impl.cc#newcode1138 content/browser/frame_host/navigation_controller_impl.cc:1138: CHECK_EQ(new_entry->GetURL().GetOrigin(), params.url.GetOrigin()); On 2017/02/21 19:39:41, estark (slow thru Feb ...
3 years, 10 months ago (2017-02-21 20:22:45 UTC) #8
estark
On 2017/02/21 20:22:45, jam (OOO) wrote: > https://codereview.chromium.org/2707133003/diff/1/content/browser/frame_host/navigation_controller_impl.cc > File content/browser/frame_host/navigation_controller_impl.cc (right): > > https://codereview.chromium.org/2707133003/diff/1/content/browser/frame_host/navigation_controller_impl.cc#newcode1138 ...
3 years, 10 months ago (2017-02-21 22:30:28 UTC) #11
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/2707133003/20001
3 years, 10 months ago (2017-02-22 15:13:18 UTC) #14
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/2707133003/40001
3 years, 10 months ago (2017-02-22 16:11:55 UTC) #18
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 17:22:44 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/a78746ec1a1bfa668f5bcb01d2b2...

Powered by Google App Engine
This is Rietveld 408576698