|
Initial Fetch integration for Subresource Integrity
This adds support to the fetch() API for the integrity attribute, both
the setting of the attribute and the actual SRI enforcement.
For the regular integrity attribute on elements, this leaves in place
the checking of SRI in the Script element and Style element execution,
rather than integrating it more fully into the Resource Loader because
of technical complications. This may be worth doing in the future, but
will require some significant redesign of how Resource objects are
returned from the Memory Cache in ResourceFetcher::requestScript.
BUG= 502361
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200995
Total comments: 12
Total comments: 14
Total comments: 10
Total comments: 6
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+262 lines, -16 lines) |
Patch |
 |
M |
LayoutTests/http/tests/fetch/script-tests/request.js
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-fetch.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/virtual/stable/webexposed/global-interface-listing-dedicated-worker-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/virtual/stable/webexposed/global-interface-listing-shared-worker-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/webexposed/global-interface-listing-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/ScriptLoader.cpp
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/SubresourceIntegrity.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/SubresourceIntegrity.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLLinkElement.cpp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/FetchManager.cpp
|
View
|
1
2
3
4
5
6
|
11 chunks |
+125 lines, -11 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/FetchRequestData.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/FetchRequestData.cpp
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/Request.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/Request.cpp
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+16 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/Request.idl
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/RequestInit.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/modules/fetch/RequestInit.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 49 (14 generated)
|