diff --git a/index.bs b/index.bs index 83e32a8..6c427ae 100644 --- a/index.bs +++ b/index.bs @@ -1199,10 +1199,10 @@ which switches on |type| and runs the associated steps: 1. If the |encodingName| is present, set |encoding| to the result of [=getting an encoding=] from |encodingName|. 1. If |encoding| is failure, and |mimeType| is present: - 1. Let |type| be the result of [=parse a MIME type=] given |mimeType|. - 1. If |type| is not failure, + 1. Let |parsedType| be the result of [=parse a MIME type=] given |mimeType|. + 1. If |parsedType| is not failure, set |encoding| to the result of [=getting an encoding=] - from |type|'s [=MIME type/parameters=][`"charset"`]. + from |parsedType|'s [=MIME type/parameters=][`"charset"`].
If `blob` has a {{Blob/type}} attribute of `text/plain;charset=utf-8`