Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3053)

Unified Diff: core/fileapi/Blob.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/events/WheelEventInit.idl ('k') | core/fileapi/BlobPropertyBag.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fileapi/Blob.idl
diff --git a/core/fileapi/Blob.idl b/core/fileapi/Blob.idl
index 5f59e11b6735497fb9fb01e6911b5ccb73e04e58..4abe9ed0ebb6662aa29a30c099dcd05e3c942ab9 100644
--- a/core/fileapi/Blob.idl
+++ b/core/fileapi/Blob.idl
@@ -28,17 +28,22 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://w3c.github.io/FileAPI/#blob
+
[
- WillBeGarbageCollected,
- CustomConstructor,
- CustomConstructor(sequence<any> blobParts, optional BlobPropertyBag options),
+ GarbageCollected,
+ Constructor,
+ Constructor(sequence<(ArrayBuffer or ArrayBufferView or Blob or DOMString)> blobParts, optional BlobPropertyBag options),
+ RaisesException=Constructor,
Exposed=(Window,Worker),
- SpecialWrapFor=File,
] interface Blob {
readonly attribute unsigned long long size;
readonly attribute DOMString type;
+ // TODO(jsbell): Implement:
+ // readonly attribute boolean isClosed;
+ // TODO(jsbell): start and end arguments should be [Clamp]
+ // TODO(philipj): contentType should not be optional or nullable.
[RaisesException] Blob slice(optional long long start, optional long long end, [TreatUndefinedAs=NullString] optional DOMString? contentType);
[RaisesException, CallWith=ExecutionContext, RuntimeEnabled=FileAPIBlobClose] void close();
};
-
« no previous file with comments | « core/events/WheelEventInit.idl ('k') | core/fileapi/BlobPropertyBag.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698