Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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"`].

<div class="example">
If `blob` has a {{Blob/type}} attribute of `text/plain;charset=utf-8`
Expand Down