From 556c1f8515585759d4bc1541e6cd6671f08d3125 Mon Sep 17 00:00:00 2001 From: Matt Falkenhagen Date: Fri, 16 Apr 2021 16:58:57 +0900 Subject: [PATCH] Add note that chunking is not preserved with ReadableStream. Addresses #1573 --- docs/index.bs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/index.bs b/docs/index.bs index 313b1cf8..ff9c8b7f 100644 --- a/docs/index.bs +++ b/docs/index.bs @@ -1629,6 +1629,8 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe Note: These substeps are meant to produce the observable equivalent of "piping" |response|'s [=response/body=]'s [=stream=] into |potentialResponse|. + Note: The data written by the service worker in chunks are not guaranteed to read in identical chunks by the client that receives the data. That is, the client will read the same data that was written, but it may be chunked differently by the browser. + 1. Set |event|'s [=FetchEvent/potential response=] to |potentialResponse|. 1. Unset |event|'s [=FetchEvent/wait to respond flag=].