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

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

Issue 131103010: CSP 1.1: Introduce the 'child-src' directive. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tests. Created 6 years, 11 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 | Annotate | Revision Log
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("Frames should be governed by 'child-src'.");
11 injectFrame("/security/contentSecurityPolicy/resources/alert-pass.html", EXPECT_LOAD);
12 </script>
13 </body>
14 </html>
15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698