<!DOCTYPE html>
<title>Loading an SVG with 0x0 intrinsic dimensions 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 = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='0' height='0'></svg>";
img.onload = t.step_func_done();
img.onerror = t.unreached_func();
});
</script>