|
|
Add 'XHR' to the Resource::Type enum, and use it for XHR requests.
We're currently hacking Mixed Content support for XHR in by adding an
enum to the request options, which is only set for XHR. We do this only
because we can't otherwise distinguish between XHR and Pepper requests.
Adding a resource type makes this a much clearer distinction, and allows
us to simplify the 'checkInsecureContent' implementation. Eventually, we
can move all that logic into MixedContentChecker.
This change should have no web-visible effect; existing tests should
continue to pass or fail, accordingly.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+101 lines, -94 lines) |
Patch |
 |
M |
LayoutTests/http/tests/security/mixedContent/insecure-image-in-iframe-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/fetch/CrossOriginAccessControl.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/fetch/RawResource.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/fetch/Resource.h
|
View
|
1
2
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/fetch/Resource.cpp
|
View
|
1
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/fetch/ResourceFetcher.h
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/fetch/ResourceFetcher.cpp
|
View
|
1
2
3
4
|
11 chunks |
+80 lines, -78 lines |
0 comments
|
Download
|
 |
M |
Source/core/fetch/ResourceLoaderOptions.h
|
View
|
|
5 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
Source/core/inspector/InspectorPageAgent.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/loader/DocumentThreadableLoader.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/xml/XMLHttpRequest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|