From 8a7e119251c692b2c0db7ad147b665eae810e2fb Mon Sep 17 00:00:00 2001 From: Jeffrey Yasskin Date: Tue, 22 Jan 2019 14:39:48 -0800 Subject: [PATCH] Use Infra's definition of JSON serialization. This also improves the type of the object assigned to a request's body. --- index.src.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/index.src.html b/index.src.html index c46572a..fda2cad 100644 --- a/index.src.html +++ b/index.src.html @@ -26,9 +26,6 @@

Reporting API

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 @@ -919,8 +916,8 @@

: `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. Queue a task to fetch |request|.