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

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

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 CONSOLE ERROR: Refused to evaluate a string as CSS because 'unsafe-eval' is not an allowed source of style in the following Content Security Policy directive: " style-src 'unsafe-inline' 'self'".
2
3 Setting CSSStyleDeclaration::cssText blocked if 'unsafe-eval' is not an allowed source of style.
4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6
7
8 PASS document.head.style.cssText = 'display: none;'; threw exception SecurityErr or: Failed to set the 'cssText' property on 'CSSStyleDeclaration': Refused to ev aluate a string as CSS because 'unsafe-eval' is not an allowed source of style i n the following Content Security Policy directive: "style-src 'unsafe-inline' 's elf'".
9 .
10 PASS successfullyParsed is true
11
12 TEST COMPLETE
13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698