<!DOCTYPE html> | |
<title>Loading zero intrinsic SVG image with reference data:uri image should not dispatch 'error' event</title> | |
<script src="../../resources/testharness.js"></script> | |
<script src="../../resources/testharnessreport.js"></script> | |
<script> | |
async_test(function(t) { | |
var img = new Image(); | |
img.src = 'resources/zero-size-image-with-data-uri.svg'; | |
img.onload = t.step_func_done(); | |
img.onerror = t.unreached_func(); | |
}); | |
</script> |