[w3c/ServiceWorker] respondWith creates JS objects in parallel (#1170)

https://w3c.github.io/ServiceWorker/v1/#fetch-event-respondwith step 10.3.1.2.5.5 says:

> Let newStream be the result of construct a ReadableStream object with strategy, pull and cancel in targetRealm.

and links to <https://fetch.spec.whatwg.org/#concept-construct-readablestream>.  But it doesn't properly set up current Realms (though it does at least hint as to what the current Realm _should_ be set up to).  Worse yet, this entire part of respondWith is "in parallel", so it can't do object creation to start with.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1170

Received on Wednesday, 19 July 2017 20:06:01 UTC