blob: f6c5fd2b028fc7780e35bcbadfe961b1018f5a91 [file] [log] [blame]
CONSOLE MESSAGE: Refused to load the image 'http://www.myfakesiteabc.com/image.png' because it violates the following Content Security Policy directive: "img-src 'self'".
This tests onerror event is fired if we change image src to a url blocked by content-security-policy.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS error event fired.
PASS successfullyParsed is true
TEST COMPLETE