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

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

Issue 137233005: CSP: Improve blocked inline script error message. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Yay. Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE ERROR: Refused to apply inline style because it violates the following C ontent Security Policy directive: "style-src 'self'". 1 CONSOLE ERROR: Refused to apply inline style because it violates the following C ontent Security Policy directive: "style-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
2 2
3 CONSOLE ERROR: line 6: Refused to apply inline style because it violates the fol lowing Content Security Policy directive: "style-src 'self'". 3 CONSOLE ERROR: line 6: Refused to apply inline style because it violates the fol lowing Content Security Policy directive: "style-src 'self'". Either the 'unsafe -inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
4 4
5 Style that does not match a 'nonce-*' expression in 'style-src' should not be ap plied to the page. 5 Style that does not match a 'nonce-*' expression in 'style-src' should not be ap plied to the page.
6 6
7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
8 8
9 9
10 PASS window.getComputedStyle(el).color is "rgb(0, 0, 0)" 10 PASS window.getComputedStyle(el).color is "rgb(0, 0, 0)"
11 PASS successfullyParsed is true 11 PASS successfullyParsed is true
12 12
13 TEST COMPLETE 13 TEST COMPLETE
14 This text should be green. 14 This text should be green.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698