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

> @@ -1781,17 +1789,44 @@ spec: webidl; urlPrefix: https://heycam.github.io/webidl/
>                      </li>
>                      <li>Else:
>                        <ol>
> -                        <li>Let <var>potentialResponse</var> be a copy of <var>response</var>'s associated <a href="https://fetch.spec.whatwg.org/#concept-response-response">response</a>, except for its body.</li>
> +                        <li>Let <var>bytes</var> be an empty byte sequence.
> +                        <li>Let <var>end-of-body</var> be false.
> +                        <li>Let <var>done</var> be false.
> +                        <li>Let <var>targetRealm</var> be the <a>relevant Realm</a> of this <code>FetchEvent</code>.

Use `{{FetchEvent}}` to get autolinking.

---
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/files/8f5e410f7619eb463ef8f452e3cfad924e436814#r73101381

Received on Tuesday, 2 August 2016 08:01:01 UTC