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

Issue 2067003: Track "display" and "run" separately for mixed content, and make the latter d... (Closed)

Created:
10 years, 7 months ago by Peter Kasting
Modified:
9 years, 7 months ago
Reviewers:
abarth-chromium
CC:
chromium-reviews, brettw-cc_chromium.org, amit, ben+cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Track "display" and "run" separately for mixed content, and make the latter downgrade the SSL state to "authentication broken". Make the "display" state only affect the current tab (not the entire host). Fix an SSL browser test by supplying the appropriate SiteInstance*. Move a test from "disabled" to "flaky" since it at least passes for me. Make the SSLManager header and .cc files put functions in the same order, and make that order somewhat saner. BUG=15072, 18626, 40932, 42758 TEST=Covered by browser tests

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+450 lines, -389 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/external_tab_container.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/page_info_model.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 5 6 23 chunks +113 lines, -54 lines 0 comments Download
M chrome/browser/ssl/ssl_host_state.h View 1 2 3 3 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/ssl/ssl_host_state.cc View 1 2 3 4 5 2 chunks +8 lines, -9 lines 2 comments Download
M chrome/browser/ssl/ssl_host_state_unittest.cc View 1 2 3 4 5 2 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/ssl/ssl_manager.h View 4 chunks +34 lines, -34 lines 0 comments Download
M chrome/browser/ssl/ssl_manager.cc View 5 chunks +125 lines, -124 lines 0 comments Download
M chrome/browser/ssl/ssl_policy.h View 1 2 3 4 chunks +5 lines, -13 lines 0 comments Download
M chrome/browser/ssl/ssl_policy.cc View 1 2 3 4 chunks +53 lines, -45 lines 3 comments Download
M chrome/browser/ssl/ssl_policy_backend.h View 1 2 3 3 chunks +5 lines, -10 lines 0 comments Download
M chrome/browser/ssl/ssl_policy_backend.cc View 1 2 3 4 chunks +8 lines, -15 lines 0 comments Download
M chrome/browser/tab_contents/navigation_entry.h View 2 chunks +22 lines, -8 lines 0 comments Download
M chrome/browser/tab_contents/navigation_entry_unittest.cc View 1 chunk +9 lines, -5 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.h View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/toolbar_model.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/notification_type.h View 2 chunks +7 lines, -10 lines 0 comments Download
M chrome/test/automation/automation_messages.h View 1 5 chunks +10 lines, -5 lines 0 comments Download
A + chrome/test/data/ssl/page_displays_mixed_content.html View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/test/data/ssl/page_runs_mixed_content.html View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/test/data/ssl/page_with_http_script.html View 1 chunk +0 lines, -8 lines 0 comments Download
D chrome/test/data/ssl/page_with_mixed_contents.html View 1 chunk +0 lines, -15 lines 0 comments Download
M chrome_frame/chrome_active_document.cc View 3 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Peter Kasting
10 years, 7 months ago (2010-05-13 19:33:45 UTC) #1
abarth-chromium
http://codereview.chromium.org/2067003/diff/1/7 File chrome/browser/ssl/ssl_host_state.h (right): http://codereview.chromium.org/2067003/diff/1/7#newcode31 chrome/browser/ssl/ssl_host_state.h:31: void HostDisplayedInsecureContent(const std::string& host, int pid); I'm not sure ...
10 years, 7 months ago (2010-05-13 20:08:17 UTC) #2
Peter Kasting
New snap up that makes the "display" state tab-scoped as you've requested. In this version, ...
10 years, 7 months ago (2010-05-14 18:53:32 UTC) #3
abarth-chromium
We're supposed to treat intranet hosts like did run insecure content.
10 years, 7 months ago (2010-05-14 19:40:46 UTC) #4
abarth-chromium
I need to eat lunch, but I'll look after my after-lunch meeting.
10 years, 7 months ago (2010-05-14 19:41:10 UTC) #5
Peter Kasting
On 2010/05/14 19:40:46, abarth wrote: > We're supposed to treat intranet hosts like did run ...
10 years, 7 months ago (2010-05-14 19:49:10 UTC) #6
abarth-chromium
LGTM. The changes to SSLManager were a bit hard to follow because you moved a ...
10 years, 7 months ago (2010-05-14 22:29:39 UTC) #7
Peter Kasting
Sorry about moving the stuff in SSLManager around -- I originally rewrote it a bit ...
10 years, 7 months ago (2010-05-14 22:33:11 UTC) #8
abarth-chromium
http://codereview.chromium.org/2067003/diff/18002/36013 File chrome/browser/ssl/ssl_policy.cc (right): http://codereview.chromium.org/2067003/diff/18002/36013#newcode173 chrome/browser/ssl/ssl_policy.cc:173: entry->ssl().set_ran_mixed_content(); > I'd be happy to try for consistent ...
10 years, 7 months ago (2010-05-14 22:35:03 UTC) #9
Peter Kasting
10 years, 7 months ago (2010-05-15 00:38:57 UTC) #10
Landed in r47347, closing.

Powered by Google App Engine
This is Rietveld 408576698