Skip to content

Commit 6465ac1

Browse files
jyasskindcreager
authored andcommitted
Use Infra's definition of JSON serialization. (#146)
This also improves the type of the object assigned to a request's body.
1 parent 25ef462 commit 6465ac1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

index.src.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ <h1>Reporting API</h1>
2626
type: dfn
2727
text: Content-Security-Policy
2828
text: reports directive; url: directives-reporting
29-
spec: ECMA-262; urlPrefix: http://www.ecma-international.org/ecma-262/6.0/
30-
type: method
31-
text: JSON.stringify(); url: sec-json.stringify
3229
spec: FETCH; urlPrefix: https://fetch.spec.whatwg.org/
3330
type: dfn
3431
text: navigation request
@@ -919,8 +916,8 @@ <h3 id="try-delivery" algorithm>
919916
: `credentials`
920917
:: "`include`"
921918
: `body`
922-
:: The string resulting from executing the {{JSON.stringify()}} algorithm
923-
on |collection| [[!ECMA-262]]
919+
:: A [=/body=] whose [=body/source=] is the [=byte sequence=] resulting
920+
from executing [=serialize JSON to bytes=] on |collection|.
924921

925922
4. <a>Queue a task</a> to <a>fetch</a> |request|.
926923

0 commit comments

Comments
 (0)