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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/report-multiple-violations-02-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: [Report Only] Refused to evaluate a string as JavaScript becaus e 'unsafe-eval' is not an allowed source of script in the following Content Secu rity Policy directive: "script-src 'unsafe-inline' 'self'". 1 CONSOLE ERROR: [Report Only] Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Securi ty Policy directive: "script-src 'unsafe-inline' 'self'".
2 2
3 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/does-not-exist'. 3 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/does-not-exist'.
4 CONSOLE MESSAGE: [Report Only] Refused to evaluate a string as JavaScript becaus e 'unsafe-eval' is not an allowed source of script in the following Content Secu rity Policy directive: "script-src 'unsafe-inline' 'self'". 4 CONSOLE ERROR: [Report Only] Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Securi ty Policy directive: "script-src 'unsafe-inline' 'self'".
5 5
6 CONSOLE MESSAGE: [Report Only] Refused to evaluate a string as JavaScript becaus e 'unsafe-eval' is not an allowed source of script in the following Content Secu rity Policy directive: "script-src 'unsafe-inline' 'self'". 6 CONSOLE ERROR: [Report Only] Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Securi ty Policy directive: "script-src 'unsafe-inline' 'self'".
7 7
8 CONSOLE MESSAGE: [Report Only] Refused to evaluate a string as JavaScript becaus e 'unsafe-eval' is not an allowed source of script in the following Content Secu rity Policy directive: "script-src 'unsafe-inline' 'self'". 8 CONSOLE ERROR: [Report Only] Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Securi ty Policy directive: "script-src 'unsafe-inline' 'self'".
9 9
10 CONSOLE MESSAGE: [Report Only] Refused to evaluate a string as JavaScript becaus e 'unsafe-eval' is not an allowed source of script in the following Content Secu rity Policy directive: "script-src 'unsafe-inline' 'self'". 10 CONSOLE ERROR: [Report Only] Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Securi ty Policy directive: "script-src 'unsafe-inline' 'self'".
11 11
12 This tests that multiple violations on a page trigger multiple reports if and on ly if the violations are distinct. This test passes if only one. PingLoader call back is visible in the output. 12 This tests that multiple violations on a page trigger multiple reports if and on ly if the violations are distinct. This test passes if only one. PingLoader call back is visible in the output.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698