blob: 88f94e6e1b9d3a4ffe09173841f3cce740ba6301 [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function loaded() {
var image = document.body.getElementsByTagName('img')[0];
alert(image.width > 0 ? 'PASS' : 'FAIL');
if (window.testRunner)
testRunner.notifyDone();
}
</script>
This image should load:<br>
<img crossorigin="anonymous" src="resources/abe.png" onload="loaded()">