Re: [whatwg/fetch] (WIP) allow Request to outlive environment settings object (#388)

> The problem is that the concept layer also depends on ReadableStream. Even when you create a Request object from a DOMString body, the body is held as a ReadableStream (see https://fetch.spec.whatwg.org/#concept-body and https://fetch.spec.whatwg.org/#concept-bodyinit-extract).

I thought one of the goals was to let the browser optimize such that if it never has to execute js to read the stream, then it could perform off thread copying, etc.  A DOMString body should fall into this category, no?

-- 
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/fetch/pull/388#issuecomment-249084417

Received on Friday, 23 September 2016 02:14:03 UTC