[slightlyoff/ServiceWorker] Create a new ReadableStream in FetchEvent.respondWith (#934)

The current description pretends that a ReadableStream can be passed from one realm to another, which is wrong. This change changes the description so that it creates a new ReadableStream  and passes Uint8Array objects from the old ReadableStream to the new one.

This is discussed at https://github.com/whatwg/fetch/issues/330. This change fixes #850 as well.

You can view, comment on, or merge this pull request online at:

  https://github.com/slightlyoff/ServiceWorker/pull/934

-- Commit Summary --

  * wip
  * fix

-- File Changes --

    M spec/service_worker/index.bs (54)
    M spec/service_worker/index.html (3791)

-- Patch Links --

https://github.com/slightlyoff/ServiceWorker/pull/934.patch
https://github.com/slightlyoff/ServiceWorker/pull/934.diff

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

Received on Friday, 22 July 2016 06:00:49 UTC