Chrome Gives A Warning When Loading An Svg In An
In order to display an SVG image file onto a canvas I have the following line on the HTML: an
Solution 1:
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.
Post a Comment for "Chrome Gives A Warning When Loading An Svg In An "