Chrome gives a warning when loading an SVG in an <img> Chrome gives a warning when loading an SVG in an <img> google-chrome google-chrome

Chrome gives a warning when loading an SVG in an <img>


This is a bug in the WebKit code bundled with Chrome. WebInspector.Resource._checkWarning() calls WebInspector.Resource._mimeTypeIsConsistentWithType() to check the mime-type of the resource. This function checks the value against the WebInspector.MIMETypes object, which does not contain an entry for SVG images.

This does not appear to be fixed in WebKit trunk, so you should probably report it as a bug.