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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-blocked.html

Issue 2784543003: Fixed wpt content-security-policy/style-src tests (Closed)
Patch Set: CR changes Created 3 years, 8 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="style-src 'none'; script-src 'unsafe-inline'">
5 <style>
6 .target {
7 background-color: blue;
8 }
9 </style>
10 <script>
11 if (window.testRunner)
12 testRunner.dumpAsText();
13 </script>
14 </head>
15 <body class="target">
16 <script>
17 document.write(document.styleSheets.length > 0 ? 'FAIL' : 'PASS');
18 </script>
19 </body>
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698