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

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

Issue 26770004: Add console message levels to test expectation output. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tests. Created 7 years, 2 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 MESSAGE: Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'nonce-noncynonce'". 1 CONSOLE ERROR: Refused to apply inline style because it violates the following C ontent Security Policy directive: "style-src 'nonce-noncynonce'".
2 2
3 CONSOLE MESSAGE: line 11: Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'nonce-noncynonce'". 3 CONSOLE ERROR: line 11: Refused to apply inline style because it violates the fo llowing Content Security Policy directive: "style-src 'nonce-noncynonce'".
4 4
5 Style correctly whitelisted via a 'nonce-*' expression in 'style-src' should be applied to the page. 5 Style correctly whitelisted via a 'nonce-*' expression in 'style-src' should be applied 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, 128, 0)" 10 PASS window.getComputedStyle(el).color is "rgb(0, 128, 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