- From: Ms2ger <notifications@github.com>
- Date: Wed, 02 Mar 2016 04:07:44 -0800
- To: w3c/FileAPI <FileAPI@noreply.github.com>
Received on Wednesday, 2 March 2016 12:08:21 UTC
Currently, the spec has (boring parts omitted):
```
[Constructor, Constructor(sequence<...> blobParts, optional BlobPropertyBag options)]
interface Blob {
```
It would probably be better to use
```
[Constructor(optional sequence<...> blobParts, optional BlobPropertyBag options)]
interface Blob {
```
Note that this handles
```js
new Blob(undefined)
```
differently: the current spec throws a `TypeError`; after the change, it would be equivalent to `new Blob()`.
CC @bzbarsky
---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/issues/33
Received on Wednesday, 2 March 2016 12:08:21 UTC