diff options
Diffstat (limited to 'components/script/dom/blob.rs')
-rw-r--r-- | components/script/dom/blob.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/blob.rs b/components/script/dom/blob.rs index b27a0c3e7e9..63536fdd296 100644 --- a/components/script/dom/blob.rs +++ b/components/script/dom/blob.rs @@ -66,7 +66,8 @@ impl Blob { } // http://dev.w3.org/2006/webapi/FileAPI/#constructorBlob - pub fn Constructor_(global: GlobalRef, blobParts: DOMString, blobPropertyBag: &BlobBinding::BlobPropertyBag) -> Fallible<Temporary<Blob>> { + pub fn Constructor_(global: GlobalRef, blobParts: DOMString, + blobPropertyBag: &BlobBinding::BlobPropertyBag) -> Fallible<Temporary<Blob>> { //TODO: accept other blobParts types - ArrayBuffer or ArrayBufferView or Blob let bytes: Option<Vec<u8>> = Some(blobParts.into_bytes()); let typeString = if is_ascii_printable(&blobPropertyBag.type_) { |