Skip to content

Commit

Permalink
Use Infra's definition of JSON serialization. (#146)
Browse files Browse the repository at this point in the history
This also improves the type of the object assigned to a request's body.
  • Loading branch information
jyasskin authored and dcreager committed Jan 25, 2019
1 parent 25ef462 commit 6465ac1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ <h1>Reporting API</h1>
type: dfn
text: Content-Security-Policy
text: reports directive; url: directives-reporting
spec: ECMA-262; urlPrefix: http://www.ecma-international.org/ecma-262/6.0/
type: method
text: JSON.stringify(); url: sec-json.stringify
spec: FETCH; urlPrefix: https://fetch.spec.whatwg.org/
type: dfn
text: navigation request
Expand Down Expand Up @@ -919,8 +916,8 @@ <h3 id="try-delivery" algorithm>
: `credentials`
:: "`include`"
: `body`
:: The string resulting from executing the {{JSON.stringify()}} algorithm
on |collection| [[!ECMA-262]]
:: A [=/body=] whose [=body/source=] is the [=byte sequence=] resulting
from executing [=serialize JSON to bytes=] on |collection|.

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

Expand Down

0 comments on commit 6465ac1

Please sign in to comment.