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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/cssom/cssstyledeclaration-csstext-blocked.html

Issue 169303003: CSP 1.1: Revert CSSOM changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 6 years, 10 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 <meta http-equiv="Content-Security-Policy" content="style-src 'unsafe-inline ' 'self'">
6 </head>
7 <body>
8 <script>
9 description("Setting CSSStyleDeclaration::cssText blocked if 'unsafe-eva l' is not an allowed source of style.");
10 shouldThrow("document.head.style.cssText = 'display: none;';");
11 </script>
12 </body>
13 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698