Sounds good Anne. Its pretty easy to feature detect these capabilities now that they are normal methods.
Patiently awaiting Streams itself to be finalized. Thanks! On Mon, Jun 23, 2014 at 5:15 AM, Anne van Kesteren <ann...@annevk.nl> wrote: > On Sun, Jun 22, 2014 at 6:10 AM, Adam Barth <w...@adambarth.com> wrote: >> I haven't been following the fetch API in detail. Is there some >> collective understanding of what abstraction layer fetch represents? > > It's at the same level as XMLHttpRequest. > > >> For example, I could imagine that we might not want to add a >> dependency from the fetch to the HTML parser because fetch is a lower >> layer of the system. > > The API in question would be on the FetchBodyStream returned from the > network. Adding asHTML there wouldn't pose any requirements on the > underlying Fetch system. > > However, I think we should wait with adding more as* APIs until we > have some experience with the current set of features. > > > -- > http://annevankesteren.nl/