Skip to content

Commit

Permalink
Editorial: update "processing a manifest"'s signature (#1058)
Browse files Browse the repository at this point in the history
This commit implements the HTML changes done in whatwg/html#8412:
"processing a manifest" takes a response whose body has been already
consumed, so it needs to take the body bytes as a separate parameter.

Co-authored-by: Marcos Cáceres <marcos@marcosc.com>
  • Loading branch information
nicolo-ribaudo and marcoscaceres authored Oct 31, 2022
1 parent cc26cd6 commit eecf697
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1248,8 +1248,8 @@ <h3>
<p>
The steps for <dfn data-export="" data-local-lt=
"processing">processing a manifest</dfn> are given by the following
algorithm. The algorithm takes [^link^] |el:HTMLLinkElement| and a
[=Response=] |response|.
algorithm. The algorithm takes [^link^] |el:HTMLLinkElement|, a
[=Response=] |response|, and a [=byte sequence=] |bodyBytes|.
</p>
<ol class="algorithm">
<li>Let |document URL:URL| be |el|'s [=Node/node document=]'s
Expand All @@ -1258,7 +1258,7 @@ <h3>
<li>Assert: |document URL:URL| is not null.
</li>
<li>Let |json| be the result of [=parse JSON bytes to an Infra
value=] passing |response|'s [=response/body=].
value=] passing |bodyBytes|.
</li>
<li>If the |json| is a parsing exception, or |json| is not an
[=ordered map=]:
Expand Down

0 comments on commit eecf697

Please sign in to comment.