diff --git a/xhr.bs b/xhr.bs index 6bf26e7..87723e8 100644 --- a/xhr.bs +++ b/xhr.bs @@ -1466,18 +1466,12 @@ or null). Unless stated otherwise it is null.
A JSON response is the return value of these steps:
Let JSON text be the result of running - utf-8 decode on received bytes. +
Let JSON object be the result of invoking the initial value of the
- parse
property of the JSON
object, with
- JSON text as its only argument. If that threw an exception, return null.
- [[!ECMASCRIPT]]
+
Let jsonObject be the result of running JSON parse with bytes on + received bytes. If that threw an exception, then return null. -
Set response object to JSON object and return it. +
Set response object to jsonObject and return it.