You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without specifying the content type, Gecko was treating treating the blob as HTML, Blink was treating it as text and WebKit was treating it as binary and downloading it instead of rendering it inside the iframe.
I have a slight preference for treating it the same way as any other response. (Fixing #4362 will likely make it a somewhat special response, but I don't see a reason to extrapolate from that per se.)
And I think that's what is happening apart from maybe Gecko as text/html is not a safe fallback for lack of Content-Type. There is already this unfortunate difference in behavior between falling back to text/plain and download. We should fix that, but writing good tests for sniffing has been tricky.
Which is to say, I'm fine with Firefox not sniffing and just leaving the content type empty or falling back to text/plain or whatever. @smaug---- probably has a better opinion than me on this.
What is the issue with the HTML Standard?
As described in web-platform-tests/wpt#49553 by @cdumez:
The code was
Anyone have preferences on what the "right" behavior is here?
Based on http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=13303 Gecko seems to sniff, which seems kind of unfortunate but maybe natural. Chromium always does text/plain which seems kind of nice.
This might be a special-case of more no-
Content-Type
general navigational sniffingThe text was updated successfully, but these errors were encountered: