- From: Darien Maillet Valentine <notifications@github.com>
- Date: Sun, 05 Apr 2020 11:26:50 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 5 April 2020 18:27:03 UTC
I couldn’t say what the intentions or history are. In theory, the type of the argument could have been (BlobPart or sequence<BlobPart>) and due to the algorithm for coercing a union type, the TypedArray would then end up recognized as a BlobPart rather than a sequence, I believe. That is probably what you were hoping for / would have found more intuitive. Whether such a change is web-compatible now, I’m not sure; you could open an issue on the File API repo if you think it’s worth investigating. I’d suggest searching there as well in case this has come up previously. It wouldn’t be a Web IDL level issue. -- 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-609460584
Received on Sunday, 5 April 2020 18:27:03 UTC