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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/report-multiple-violations-01-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: line 10: [Report Only] Refused to load the image 'http://127.0. 0.1:8000/security/resources/abe.png' because it violates the following Content S ecurity Policy directive: "img-src 'none'". 1 CONSOLE ERROR: line 10: [Report Only] Refused to load the image 'http://127.0.0. 1:8000/security/resources/abe.png' because it violates the following Content Sec urity Policy directive: "img-src 'none'".
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: line 11: [Report Only] Refused to load the image 'http://127.0. 0.1:8000/security/resources/eba.png' because it violates the following Content S ecurity Policy directive: "img-src 'none'". 4 CONSOLE ERROR: line 11: [Report Only] Refused to load the image 'http://127.0.0. 1:8000/security/resources/eba.png' because it violates the following Content Sec urity Policy directive: "img-src 'none'".
5 5
6 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/does-not-exist'. 6 PingLoader dispatched to 'http://127.0.0.1:8000/security/contentSecurityPolicy/r esources/does-not-exist'.
7 This tests that multiple violations on a page trigger multiple reports. The test passes if two PingLoader callbacks are visible in the output. 7 This tests that multiple violations on a page trigger multiple reports. The test passes if two PingLoader callbacks are visible in the output.
8 8
9 9
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698