diff --git a/xhr.bs b/xhr.bs index 3d44b15..7fea6a8 100644 --- a/xhr.bs +++ b/xhr.bs @@ -1305,7 +1305,7 @@ not be web compatible.
If charset is null, then set charset to UTF-8.
Let document be a - document that + document that represents the result parsing xhr's received bytes following the rules set forth in the HTML Standard for an HTML parser with scripting disabled and a known definite encoding charset. @@ -1316,8 +1316,8 @@ not be web compatible.
Otherwise, let document be a document that represents the result of running - the XML parser with XML scripting support disabled on xhr's +
Otherwise, let document be a document that represents the result of + running the XML parser with XML scripting support disabled on xhr's received bytes. If that fails (unsupported character encoding, namespace well-formedness error, etc.), then return null. [[!HTML]]