- From: guest271314 <notifications@github.com>
- Date: Sun, 22 Mar 2020 11:04:21 -0700
- To: w3c/FileAPI <FileAPI@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 22 March 2020 18:04:34 UTC
The specification does not mention `RangeError` once, yet when testing `video.requestAnimationFrame()` found that images converted to `Blob`s then `Uint8Array`s (with `createImageBitmap()` and `OffscreenCanvas.convertToBlob()`) and stored in an `Array` when that `Array` is passed to `Blob()` or `File()` constructors a `RangeError` is consistently thrown ``` RangeError: Invalid string length Array.join (<anonymous>) Array.toString (<anonymous>) ``` plnkr to demonstrate https://plnkr.co/edit/NVTsnAjSTf0h1qYy?preview, Chromium bug https://bugs.chromium.org/p/chromium/issues/detail?id=1063681. This is the first time that have observed such behaviour when using File API. What is the cause of the `RangeError` being thrown in this case? -- 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/issues/147
Received on Sunday, 22 March 2020 18:04:34 UTC