blob: a9a80449b82cbc49e88f19d2e0dbda940dbf7e6f [file] [log] [blame]
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-src 'none'".
This test injects a blocked image from JavaScript. The resulting console error should contain a stack trace.
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'".
Stack Trace:
url: http://127.0.0.1:8000/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html
function: thisTest
line: 12