Looking into the WebKit source, it is easy to see which MIME types are considered valid for each type of resource. This is not a very long list.
The following 4 MIME types are supported for Documents:
text/htmltext/xmltext/plainapplication/xhtml+xml
There are only 2 valid types for style sheets:
Obviously, the types text/html , text/plain and text/css are not applicable here.
If you are really interested in disabling alerts, send the .xml document as text/xml , and the .xsl document as text/xsl should do the trick.
On the other hand, you agree that all rendering is excellent, so you can consider the strategy "if it hasn't broken, don't fix it."
John flatness
source share