[whatwg] Fetch API: asHTML

Hey Anne, love the direction of the Fetch API.

I'm curious what you think of an asHTML extension to the FetchBodyStream?

Parsing fragment HTML from XHRs is pretty typical. It could potential
return a DocumentFragment or if it used some streaming HTML parser, it
could emit the top level nodes as they were being parsed.

Any reasons why its a terrible idea? Or just something thats a little
to complex to tackle in the early states of Fetch?

Thanks!

Received on Friday, 20 June 2014 21:39:33 UTC