From 37d8d948c096daf3b3efabffebe6a5abf1b692f0 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Fri, 29 Sep 2017 14:18:40 +0200 Subject: [PATCH] Use Infra for JSON parsing See https://github.com/whatwg/infra/pull/156. --- fetch.bs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fetch.bs b/fetch.bs index 963bcfcd4..5b87afc28 100644 --- a/fetch.bs +++ b/fetch.bs @@ -4726,9 +4726,7 @@ runs the associated steps:

Otherwise, throw a TypeError.

JSON -

Return the result of invoking the initial value of the parse property of the - JSON object with the result of running UTF-8 decode on bytes as - argument. +

Return the result of running parse JSON with bytes on bytes.

text

Return the result of running UTF-8 decode on