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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/injected-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'">
5 <script src="resources/dump-as-text.js"></script>
6 </head>
7 <body>
8 <div id="test1">
9 PASS 1/2
10 </div>
11 <div id="test2">
12 PASS 2/2
13 </div>
14 <script src="resources/inject-style.js"></script>
15 <script>
16 document.write(document.styleSheets.length);
17 </script>
18 </body>
19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698