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

Side by Side Diff: LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace-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 load the image 'http://127.0.0.1:8000/resources/abe. png' because it violates the following Content Security Policy directive: "img-s rc 'none'". 1 CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/resources/abe.pn g' because it violates the following Content Security Policy directive: "img-src 'none'".
2 2
3 This test injects a blocked image from JavaScript. The resulting console error s hould contain a stack trace. 3 This test injects a blocked image from JavaScript. The resulting console error s hould contain a stack trace.
4 4
5 5
6 Message[0]: csp-injected-content-warning-contains-stacktrace.html:12 Refused to load the image 'http://127.0.0.1:8000/resources/abe.png' because it violates the following Content Security Policy directive: "img-src 'none'". 6 Message[0]: csp-injected-content-warning-contains-stacktrace.html:12 Refused to load the image 'http://127.0.0.1:8000/resources/abe.png' because it violates the following Content Security Policy directive: "img-src 'none'".
7 7
8 Stack Trace: 8 Stack Trace:
9 9
10 url: http://127.0.0.1:8000/inspector/stacktraces/csp-injected-content-warnin g-contains-stacktrace.html 10 url: http://127.0.0.1:8000/inspector/stacktraces/csp-injected-content-warnin g-contains-stacktrace.html
11 function: thisTest 11 function: thisTest
12 line: 12 12 line: 12
13 13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698