From d26edf99bc4d91977226253ad482f4462057e31d Mon Sep 17 00:00:00 2001 From: Matt Falkenhagen Date: Mon, 26 Apr 2021 17:16:32 +0900 Subject: [PATCH] Add note that chunking is not preserved with ReadableStream. (#1583) 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=].