|
Give shared workers their own content security policies
This CL assigns shared workers the CSP that was served when the script
was fetched. Code to handle the CSP when loading a worker is now on the
WorkerScriptLoaderClient base class instead of just on
InProcessWorkerBase (where it was previously located to handle CSP for
dedicated workers).
BUG= 474872, 483458
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195470
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+120 lines, -29 lines) |
Patch |
|
D |
LayoutTests/http/tests/security/contentSecurityPolicy/resources/shared-worker-make-xhr.js
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
|
M |
LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker.php
|
View
|
1
|
3 chunks |
+37 lines, -2 lines |
0 comments
|
Download
|
|
M |
LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-allowed.html
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
LayoutTests/http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked.html
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/http/tests/security/contentSecurityPolicy/worker-without-own-csp.html
|
View
|
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/http/tests/security/referrer-policy-worker-has-referrer.html
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/core.gypi
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/InProcessWorkerBase.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/workers/InProcessWorkerBase.cpp
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/WorkerScriptLoaderClient.h
|
View
|
|
2 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
|
A |
Source/core/workers/WorkerScriptLoaderClient.cpp
|
View
|
|
1 chunk |
+37 lines, -0 lines |
2 comments
|
Download
|
|
M |
Source/web/WebSharedWorkerImpl.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/web/WebSharedWorkerImpl.cpp
|
View
|
|
4 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
Total messages: 11 (4 generated)
|