Adding for support Blob.{close,isClose} #6723

This commit is contained in:
farodin91 2015-07-28 08:57:08 +02:00
parent fff104bb41
commit 20f99e92d8
7 changed files with 67 additions and 61 deletions

View file

@ -8,19 +8,20 @@
// Constructor(sequence<(ArrayBuffer or ArrayBufferView or Blob or DOMString)> blobParts,
// optional BlobPropertyBag options)]
[Constructor,
Constructor(DOMString blobParts, optional BlobPropertyBag options)]
Constructor(DOMString blobParts, optional BlobPropertyBag options),
Exposed=Window/*,Worker*/]
interface Blob {
readonly attribute unsigned long long size;
readonly attribute DOMString type;
//readonly attribute boolean isClosed;
readonly attribute boolean isClosed;
//slice Blob into byte-ranged chunks
Blob slice([Clamp] optional long long start,
[Clamp] optional long long end,
optional DOMString contentType);
//void close();
void close();
};