rdar://5185933 This widget gets an HTML response, and the response encoding is determined by a Http-Equiv META. Shipping WebKit is naive enough to just feed any XHR responses to an HTML/XML decoder, so it always honors METAs. However, TOT matches other browsers (and the current draft spec) in that it only looks inside XML responses for encoding information. The good news is that it has been suggested that browsers should also look inside HTML responses in order to implement XHR.responseHTML some day (or to extend responseXML to work with HTML). So, maybe we can still get the spec changed.
Created attachment 14768 [details] test case
If we can't get the spec changed, we need to add yet another dashboard quirk :/
The specification is actually already changed :-) http://www.w3.org/TR/XMLHttpRequest/#text-response-entity-body
Created attachment 15163 [details] proposed fix
Comment on attachment 15163 [details] proposed fix Great work! r=me
Committed revision 23718.