- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 13 Mar 2019 02:20:30 -0700
- To: w3c/FileAPI <FileAPI@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 13 March 2019 09:20:54 UTC
annevk 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=]. I'd prefer that, as it's the right way to approach these kind of problems. Ensure the new primitive can be used to implement all the things, then expose fancy new APIs. -- 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_r265033895
Received on Wednesday, 13 March 2019 09:20:54 UTC