- From: Darien Maillet Valentine <notifications@github.com>
- Date: Sun, 05 Apr 2020 10:45:11 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 5 April 2020 17:45:24 UTC
The argument in question is `optional sequence<BlobPart>`, where BlobPart is `(BufferSource or Blob or USVString)`, and where `Blob` is the interface type whose constructor this is. You’re correct that a TypedArray can be converted to a sequence. But that’s exactly what you’re seeing. The members of the iterable become strings because they’re originally numbers — and numbers can be coerced to USVString (in BlobPart) but not BufferSource of Blob. -- 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-609454873
Received on Sunday, 5 April 2020 17:45:24 UTC