|
Downgrade lock icon for broken-HTTPS subresources
This CL attaches a boolean to resource responses to indicate if they
have certificate errors. If Blink sees a resource with a cert error, it
notifies the renderer via FrameLoaderClient, who then notifies the
browser, who treats the situation like mixed content.
The browser (//content) ignores subresources with cert errors on HTTP
pages, and subresources with the same cert errors as the main
resource. This allows embedders to distinguish broken-HTTPS foo.com with
a subresource from broken-HTTPS bar.com and broken-HTTPS foo.com with a
subresource from broken-HTTPS foo.com.
BUG= 477868
Committed: https://crrev.com/8bfb78c859ab5993eada6db30e4de50aa7403f1c
Cr-Commit-Position: refs/heads/master@{#362246}
Total comments: 42
Total comments: 11
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+379 lines, -64 lines) |
Patch |
 |
M |
chrome/browser/ssl/ssl_browser_tests.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+69 lines, -36 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/ssl/page_with_dynamic_unsafe_image.html
|
View
|
1
2
3
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/ssl/page_with_unsafe_image.html
|
View
|
1
2
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/bad_message.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_loader.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/ssl/ssl_manager.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/ssl/ssl_manager.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/ssl/ssl_policy.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/ssl/ssl_policy.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+40 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/child/web_url_loader_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/frame_messages.h
|
View
|
1
2
3
4
5
|
1 chunk |
+14 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/resource_messages.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/resource_response.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/resource_response_info.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/resource_response_info.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+60 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/EmptyClients.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/FrameLoaderClient.h
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/MixedContentChecker.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/MixedContentChecker.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/MixedContentCheckerTest.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+47 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/network/ResourceResponse.h
|
View
|
1
2
3
4
5
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/network/ResourceResponse.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/FrameLoaderClientImpl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/platform/WebURLResponse.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebFrameClient.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 21 (6 generated)
|