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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/cssom/csssupportsrule-insertrule-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 CSSSupportsRule::insertRule 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 rule.insertRule('x { display: none; }', 0); threw exception SecurityError: Failed to execute 'insertRule' on 'CSSSupportsRule': Refused to evaluate a strin g as CSS because 'unsafe-eval' is not an allowed source of style in the followin g Content Security Policy directive: "style-src 'unsafe-inline' 'self'".
9 .
10 PASS successfullyParsed is true
11
12 TEST COMPLETE
13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698