This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://xhr.spec.whatwg.org/#response-entity-body-0 [[ Otherwise, let document be a document that represents the result of parsing the response entity body following the rules set forth in the XML specifications. If that fails (unsupported character encoding, namespace well-formedness error, etc.), return null. [XML] [XMLNS] ]] Should this (step 5) return an XMLDocument instead of a Document? See for example the DOMParsing specification, which states that we should return an XMLDocument if the MIME type is an XML one: http://domparsing.spec.whatwg.org/#dom-domparser-parsefromstring
(In reply to Christophe Dumez from comment #0) > See for example the DOMParsing specification, which states that we should > return an XMLDocument if the MIME type is an XML one: > http://domparsing.spec.whatwg.org/#dom-domparser-parsefromstring Fixed: https://github.com/whatwg/domparsing/commit/eb55d5c2a8171cb765b063cac138dd291c00b37c
I'm going to mark this as a duplicate. We need to settle once and for all what classes we want to use where for all documents. Doing this on a per-instance basis is not great. *** This bug has been marked as a duplicate of bug 22960 ***
For the record, Blink was updated accordingly in: https://src.chromium.org/viewvc/blink?view=rev&revision=169080
*** Bug 21945 has been marked as a duplicate of this bug. ***