blob: 777694e940a56b42d8bdbf7f029be80550acb123 [file] [log] [blame]
<!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>