Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(484)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/child-src/worker-allowed.html

Issue 2533313002: CSP: Move 'worker-src' onto 'script-src' (Closed)
Patch Set: WPT. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="/js-test-resources/js-test.js"></script>
5 <script src="/security/contentSecurityPolicy/resources/child-src-test.js"></ script>
6 <meta http-equiv="Content-Security-Policy" content="child-src 'self';">
7 </head>
8 <body>
9 <script>
10 description("Workers should be governed by 'child-src'.");
11 injectWorker("/security/contentSecurityPolicy/resources/alert-pass.js", EXPECT_LOAD);
12 </script>
13 </body>
14 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698