- From: guest271314 <notifications@github.com>
- Date: Sun, 05 Apr 2020 11:16:53 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 5 April 2020 18:17:06 UTC
That clarifies the algorithm somewhat. However, that example, and the fundamental difference between passing a `TypedArray` directly and passing a `TypedArray` wrapped in an array literal `[]` are not immediately clear at the File API specification. At some point in the past, if recollect accurately, it was mandatory to pass `[]` at `File` constructor, though not `Blob` constructor. There is obviously a different output when `new Blob([Uint8Array.of(1, 2, 3)]).text().then(console.log)` is used compared to `new Blob(Uint8Array.of(1, 2, 3)).text().then(console.log)` however, as asked above, is that difference simply expected to be common knowledge, without a published example with accompanying description of the two options? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/868#issuecomment-609459317
Received on Sunday, 5 April 2020 18:17:06 UTC