Re: [whatwg/dom] Clarify that new Document creates a document of type "html", not "xml" (#308)

>From [Blink's source](https://chromium.googlesource.com/chromium/src/+/9a9704a3dba1d86cb02f38bc0ecaacde25fa58e7/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp#291) I see that one can get an HTMLDocument, if `responseType` is "document". https://software.hixie.ch/utilities/js/live-dom-viewer/saved/4443 seems to work in Chrome, Firefox and Safari everywhere, but Edge gives an "Unspecified error".

In the end, are there any APIs other than the Document constructor currently that can return a plain Document, or are they all HTMLDocument or XMLDocument? I suspect that latter.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/308#issuecomment-244913809

Received on Tuesday, 6 September 2016 10:42:06 UTC