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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-basic-blocked-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 ALERT: PASS (1/2) 1 ALERT: PASS (1/2)
2 ALERT: PASS (2/2) 2 ALERT: PASS (2/2)
3 CONSOLE MESSAGE: line 13: Refused to execute inline script because it violates t he following Content Security Policy directive: "script-src 'nonce-noncynonce'". 3 CONSOLE ERROR: line 13: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'nonce-noncynonce'".
4 4
5 CONSOLE MESSAGE: line 16: Refused to execute inline script because it violates t he following Content Security Policy directive: "script-src 'nonce-noncynonce'". 5 CONSOLE ERROR: line 16: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'nonce-noncynonce'".
6 6
7 CONSOLE MESSAGE: line 19: Refused to execute inline script because it violates t he following Content Security Policy directive: "script-src 'nonce-noncynonce'". 7 CONSOLE ERROR: line 19: Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'nonce-noncynonce'".
8 8
9 This tests the effect of a valid script-nonce value. It passes if three console warnings are visible, and the two PASS alerts are executed. 9 This tests the effect of a valid script-nonce value. It passes if three console warnings are visible, and the two PASS alerts are executed.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698