I am loading SVG images with help of object tags into my page. I determine if an image is completly loaded by an eventhandler
added to the object tags
objectTag.onload = initialiseSVG;
objectTag.onerror = handleError;
But if the SVG file does not exist the error function does not get called.
What is the correct way to check if the <object>
data source is not available?