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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for-style-allowed.html

Issue 2056183002: Implement the `require-sri-for` CSP directive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 <meta http-equiv="Content-Security-Policy" content="require-sri-for style; style -src *;">
5 <link rel="stylesheet" integrity="sha384-ShcCjjHALnNbqS5eV7QCI3bD7MRh4q9TUlMpTjt DKqfMqSa3V9NRmOxE8GVVXXHj" crossorigin="anonymous" href="resources/blue.css">
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
9 </script>
10 </head>
11 <body>
12 <script>
13 document.write(document.styleSheets.length > 0 ? 'FAIL' : 'PASS');
Mike West 2016/06/10 09:25:15 Please write this as a `testharness.js` test. See
14 </script>
15 </body>
16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698