W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > November 2012

[Bug 19831] Investigate overrideMimeType()

From: <bugzilla@jessica.w3.org>
Date: Fri, 02 Nov 2012 17:04:20 +0000
To: public-webapps-bugzilla@w3.org
Message-ID: <bug-19831-2532-QJASQYP2YC@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19831

--- Comment #5 from Hallvord R. M. Steen <hallvord@opera.com> ---
For test calling overrideMimeType() at readyState=4, trying to make the browser
handle a text/plain;charset=iso-8859-1 as if it were sent with
application/xml;charset=UTF-8 :

IE 8 throws. End of story.

Firefox/Opera: don't throw. The call seems to have no effect whatsoever,
neither on decoding nor on responseXML.

Chrome: oddly enough, Chrome does something inbetween. The new MIME type is
applied, so request.responseXML is defined. The charset parameter has however
no effect, so we get a well-formed XML DOM full of mojibake. :-p

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 2 November 2012 17:04:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 2 November 2012 17:04:26 GMT