Re: [w3c/FileAPI] Why are Blob() and File() constructors at Chromium 81 throwing RangeError? (#147)

@inexorabletash 

> A quick glance at your code in the crbug - are you accidentally passing an array of arrays in to the constructor, rather than just an array? That might be triggering an implicit string conversion in the bindings code.

That is it re File API issue. 

Did not `File()` constructor once mandate `[]` be explicitly passed?

It is not apparently possible to do

```
var arr = [1];
var file = new File(arr, 'fileName');
```

which if recollect correctly was not always possible?

Yet and still if `File` or `Blob` constructor does have the potential to throw `RangeError` should that be mentioned in the specification? 

Or, should this issue be closed?

-- 
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#issuecomment-602291402

Received on Sunday, 22 March 2020 23:11:20 UTC