|
Mixed Content: Make MixedContentChecker completely static.
This patch completes the transition away from MixedContentChecker as an
object with state, into a world where it just provides static methods.
This should clear up the interface, and make migration to RemoteFrame
a bit simpler.
After this patch, we no longer hang a MixedContentChecker object off
of FrameLoader, nor does MixedContentChecker need to hold a reference
to a frame. Everything we need to do the checks can be done by passing
values into the checker methods.
Note also that this patch deletes a number of expectation files: these
are testharness.js tests, which shouldn't have expectations
committed into the repository. Rather than modifying them, this patch
removes them.
As a drive-by, this also corrects the FormsSubmitted counter.
It ought to count all form submissions as "FormsSubmitted", and mixed
submissions as a subset thereof (e.g. 5 form submissions,
with 2 of them mixed would result in FormsSubmitted: 5,
MixedContentFormsSubmitted: 2, as opposed to the current 3 and 2).
BUG= 411184
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181885
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+111 lines, -256 lines) |
Patch |
 |
M |
LayoutTests/http/tests/navigation/ping-cross-origin-from-https-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/mixedContent/insecure-eventsource-in-main-frame-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/mixedContent/insecure-formSubmission-in-main-frame-allowed-expected.txt
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/mixedContent/insecure-formSubmission-in-main-frame-blocked-expected.txt
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/mixedContent/insecure-formSubmission-in-main-frame-expected.txt
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/mixedContent/insecure-frame-in-data-iframe-in-main-frame-blocked-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/mixedContent/insecure-plugin-in-iframe-expected.txt
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/mixedContent/insecure-script-in-data-iframe-in-main-frame-blocked-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
LayoutTests/http/tests/security/mixedContent/laxChecking/websocket/insecure-websocket-in-secure-page-allowed-expected.txt
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/http/tests/security/mixedContent/laxChecking/websocket/insecure-websocket-in-secure-page-expected.txt
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/http/tests/security/mixedContent/laxChecking/websocket/insecure-websocket-in-secure-page-worker-allowed-expected.txt
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/http/tests/security/mixedContent/laxChecking/websocket/insecure-websocket-in-secure-page-worker-expected.txt
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-sandbox-in-secure-page-expected.txt
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page-allowed-expected.txt
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page-expected.txt
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page-worker-allowed-expected.txt
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page-worker-expected.txt
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/fetch/ResourceFetcher.cpp
|
View
|
1
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLFormElement.cpp
|
View
|
|
2 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLPlugInElement.cpp
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/parser/XSSAuditor.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/loader/FrameLoader.h
|
View
|
|
3 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/loader/FrameLoader.cpp
|
View
|
1
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/loader/MixedContentChecker.h
|
View
|
|
2 chunks |
+4 lines, -35 lines |
0 comments
|
Download
|
 |
M |
Source/core/loader/MixedContentChecker.cpp
|
View
|
|
4 chunks |
+83 lines, -130 lines |
0 comments
|
Download
|
 |
M |
Source/core/loader/PingLoader.cpp
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/modules/websockets/MainThreadWebSocketChannel.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/modules/websockets/NewWebSocketChannelImpl.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/web/WebLocalFrameImpl.cpp
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 12 (4 generated)
|