| OLD | NEW |
| 1 CONSOLE MESSAGE: Refused to load the image 'http://www.myfakesiteabc.com/image.p
ng' because it violates the following Content Security Policy directive: "img-sr
c 'self'". | 1 CONSOLE ERROR: Refused to load the image 'http://www.myfakesiteabc.com/image.png
' because it violates the following Content Security Policy directive: "img-src
'self'". |
| 2 | 2 |
| 3 This tests onerror event is fired if we change image src to a url blocked by con
tent-security-policy. | 3 This tests onerror event is fired if we change image src to a url blocked by con
tent-security-policy. |
| 4 | 4 |
| 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 6 | 6 |
| 7 | 7 |
| 8 PASS error event fired. | 8 PASS error event fired. |
| 9 PASS successfullyParsed is true | 9 PASS successfullyParsed is true |
| 10 | 10 |
| 11 TEST COMPLETE | 11 TEST COMPLETE |
| 12 | 12 |
| OLD | NEW |