Skip to content

Commit 5eb478f

Browse files
authored
Increment encoded/decoded body size for constructed responses (#1664)
Closes w3c/navigation-timing#124
1 parent 5bcc30d commit 5eb478f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/index.bs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,6 +1640,8 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
16401640
::
16411641
1. Assert: |chunk| is a {{Uint8Array}}.
16421642
1. Append the bytes represented by |chunk| to |bytes|.
1643+
1. Increment |potentialResponse|'s [=response/body info=]'s [=response body info/encoded size=] by |bytes|'s {{Uint8Array/size}}.
1644+
1. Increment |potentialResponse|'s [=response/body info=]'s [=response body info/decoded size=] by |bytes|'s {{Uint8Array/size}}.
16431645
1. Perform ! [=DetachArrayBuffer=](|chunk|.\[[ViewedArrayBuffer]]).
16441646
: [=read request/close steps=]
16451647
::

0 commit comments

Comments
 (0)