According to https://xhr.spec.whatwg.org/#response-mime-type:
If mimeType is failure, then set mimeType to text/xml.
Note: The content-type of the blob is set to "" (an invalid mime type) when the input type is not set or is invalid.
| Test |
Firefox |
Chrome |
Safari |
| no content type |
text/xml |
null |
"" |
| bad content type |
text/xml |
null |
"" |
Related to: whatwg/fetch#1464 and whatwg/fetch#1436