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

Side by Side Diff: LayoutTests/fast/images/image-error-event-not-firing-expected.txt

Issue 481753002: Use Shadow DOM to display fallback content for images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 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 ERROR: Refused to load the image 'data:image/png;base64,iVBORw0KGgoAAAAN SUhEUgAAABAAAAAQCAIAAACQkWg2AAABO0lEQVR4XpWRTytEYRTG3/tHLGQrNfEBpKQkmc8gG0ulxpRs fQ0TTXbI3kZ2ys4tsyBZjN1N8idlYUYaxJzzOKf7ztG1MfN0ens69/x6n/eeYPuo7npS9bCOriXDMQOC TVbO3X+6Wp9mICZWAHqquE1qAA8EQRiFcmYMsQKsAHM2DeKV4qj48ZHB++bHwcXTQ+Mz6u/rABwSIQO0 wKW5wuLU8E5yWzlJS7OFvaUJMGelAFkkYici1NIXB4DQbH1JY2ggVoD4N1Kb2AAA149vUmLLxbHaTaNy nIJggAz7G7jTyjB5wOv79/LupT47Cu0rcT6S/ai755YUiMM4cgw4/I3ERAaI3y/PiFnYPHOBtfORLKX3 8AaBERaJbHFeAOY3Eu8ZOYByi7Pl+hzWN+nwWjVB15LhYHXr1PWiH0AYTw4BBjO9AAAAAElFTkSuQmCC ' because it violates the following Content Security Policy directive: "img-src 'self'".
2
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'". 3 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 4
3 This tests onerror event is fired if we change image src to a url blocked by con tent-security-policy. 5 This tests onerror event is fired if we change image src to a url blocked by con tent-security-policy.
4 6
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6 8
7 9
8 PASS error event fired. 10 PASS error event fired.
9 PASS successfullyParsed is true 11 PASS successfullyParsed is true
10 12
11 TEST COMPLETE 13 TEST COMPLETE
12 14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698