updated Blob constructor to use optional, fixes https://github.com/servo/servo/issues/10779

This commit is contained in:
Yoav Alon 2016-04-21 22:26:08 +03:00
parent 98ae238adf
commit 711c23ae39
3 changed files with 21 additions and 27 deletions

View file

@ -4,8 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// http://dev.w3.org/2006/webapi/FileAPI/#dfn-Blob
[Constructor,
Constructor(sequence<(/*ArrayBuffer or ArrayBufferView or */Blob or DOMString)> blobParts,
[Constructor(optional sequence<(/*ArrayBuffer or ArrayBufferView or */Blob or DOMString)> blobParts,
optional BlobPropertyBag options),
Exposed=Window/*,Worker*/]
interface Blob {