Index: core/fileapi/Blob.idl |
diff --git a/core/fileapi/Blob.idl b/core/fileapi/Blob.idl |
index 28fd1aaec37f66d550a2a1f9a6d10639aabd6e41..df6662d3af4987f83d8f87a467154ef0e6203360 100644 |
--- a/core/fileapi/Blob.idl |
+++ b/core/fileapi/Blob.idl |
@@ -29,14 +29,16 @@ |
*/ |
[ |
+ WillBeGarbageCollected, |
CustomConstructor, |
CustomConstructor(sequence<any> blobParts, optional BlobPropertyBag options), |
- GlobalContext=Window&WorkerGlobalScope, |
+ Exposed=Window&Worker, |
SpecialWrapFor=File, |
] interface Blob { |
readonly attribute unsigned long long size; |
readonly attribute DOMString type; |
- Blob slice(optional long long start, optional long long end, [TreatNullAs=NullString, TreatUndefinedAs=NullString] optional DOMString contentType); |
+ [RaisesException] Blob slice(optional long long start, optional long long end, [TreatNullAs=NullString, TreatUndefinedAs=NullString] optional DOMString contentType); |
+ [RaisesException, CallWith=ExecutionContext, RuntimeEnabled=FileAPIBlobClose] void close(); |
}; |