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

Issue 42314: SSLPolicy fix: Step 9. (Closed)

Created:
11 years, 9 months ago by abarth-chromium
Modified:
9 years, 7 months ago
Reviewers:
wtc, jcampan
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

SSLPolicy fix: Step 9 of 9 (hopefully!). Change our algorithm for computing the state of our SSL security indicators. Previously, we were computing this state for a single navigation entry. Although this matches other browsers, it fails to take the same-origin policy into account. For example, if one tab is contaminated with insecure content, that insecure content can spread to all the tabs in the same security origin. R=jcampan,wtc BUG=8706 TEST=SSLUITest.TestMixedContentsRandomizeHash,SSLUITest.TestMixedContentsTwoTabs Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=12178

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 24

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 1

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+269 lines, -201 lines) Patch
M chrome/browser/renderer_host/resource_request_details.h View 3 4 5 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ssl/ssl_host_state.h View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ssl/ssl_host_state.cc View 1 2 3 4 5 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/browser/ssl/ssl_manager.h View 1 2 3 4 5 7 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/ssl/ssl_manager.cc View 1 2 3 4 5 8 chunks +25 lines, -63 lines 0 comments Download
M chrome/browser/ssl/ssl_policy.h View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ssl/ssl_policy.cc View 1 2 3 4 5 6 7 7 chunks +103 lines, -102 lines 0 comments Download
M chrome/browser/ssl/ssl_uitest.cc View 3 4 5 6 5 chunks +99 lines, -3 lines 0 comments Download
M chrome/browser/tab_contents/navigation_controller.cc View 3 4 5 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/tab_contents/navigation_entry.h View 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/test/data/ssl/blank_page.html View 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/test/data/ssl/page_with_http_script.html View 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/test/data/ssl/randomize_hash.js View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
abarth-chromium
Hopefully this will be the last step in fixing this bug. :)
11 years, 9 months ago (2009-03-18 23:03:59 UTC) #1
jcampan
http://codereview.chromium.org/42314/diff/39/44 File chrome/browser/ssl/ssl_policy.cc (right): http://codereview.chromium.org/42314/diff/39/44#newcode279 Line 279: entry->ssl().set_security_style(SECURITY_STYLE_AUTHENTICATION_BROKEN); Since mixed-content is now reported as AUTHENTICATION_BROKEN, ...
11 years, 9 months ago (2009-03-19 17:18:45 UTC) #2
abarth-chromium
http://codereview.chromium.org/42314/diff/39/44 File chrome/browser/ssl/ssl_policy.cc (right): http://codereview.chromium.org/42314/diff/39/44#newcode279 Line 279: entry->ssl().set_security_style(SECURITY_STYLE_AUTHENTICATION_BROKEN); On 2009/03/19 17:18:45, jcampan wrote: > Since ...
11 years, 9 months ago (2009-03-19 19:27:49 UTC) #3
wtc
LGTM. I reviewed Patch Set 5, not the latest Patch Set 6. In most places ...
11 years, 9 months ago (2009-03-19 21:12:03 UTC) #4
abarth-chromium
http://codereview.chromium.org/42314/diff/65/70 File chrome/browser/ssl/ssl_policy.cc (right): http://codereview.chromium.org/42314/diff/65/70#newcode279 Line 279: entry->ssl().set_has_mixed_content(); After further discussion with Jay via email, ...
11 years, 9 months ago (2009-03-19 21:14:07 UTC) #5
abarth-chromium
Thanks for your comments Wan-Teh. http://codereview.chromium.org/42314/diff/39/40 File chrome/browser/ssl/ssl_manager.cc (right): http://codereview.chromium.org/42314/diff/39/40#newcode641 Line 641: UpdateEntry(entry); Yes. This ...
11 years, 9 months ago (2009-03-19 21:34:00 UTC) #6
jcampan
11 years, 9 months ago (2009-03-19 23:26:30 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698