Debug message “Resource interpreted as other but transferred with MIME type application/javascript”

An image with an empty “src” attribute generates this error under Windows-Chrome:

<img src="">

… whereas …

<img>

… does not.

I arrived here because my ajax resultset was returning “src” data which was empty yet the img was still being inserted into the page.

Leave a Comment