- From: Marijn Kruisselbrink <notifications@github.com>
- Date: Fri, 08 Mar 2019 15:34:39 -0800
- To: w3c/FileAPI <FileAPI@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 8 March 2019 23:35:00 UTC
mkruisselbrink commented on this pull request. > + 1. If a [=file read error=] occured while reading |bytes|, [$ReadableStream/error$] + |stream| with a [=failure reason=] and abort these steps. + 1. [=ReadableStream/Enqueue=] |bytes| into |stream|. + + Issue: We need to specify more concretely what reading from a Blob actually does, and what + possible errors can happen. + +<h4 id="text-method-algo"> +The text method</h4> + +The <dfn method for=Blob>text()</dfn> method returns the contents +of the blob as a {{USVString}}. + +It must act as follows: + +1. Let |stream| be the the result of [=getting a stream for a Blob=] for the [=context object=]. Any idea why `Body.text()` ignores the charset? It seems like it could be equally frustrating there, and the algorithm there does have access to the mime type as well. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/FileAPI/pull/117#discussion_r263965020
Received on Friday, 8 March 2019 23:35:00 UTC