From c1d2d700c5aa14d28d7b28d7118055597c1f2839 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Mon, 2 Jun 2014 12:32:09 +0200 Subject: Remove not-yet-implemented APIs, and update MouseEvent to specification. --- src/components/script/dom/blob.rs | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/components/script/dom/blob.rs') diff --git a/src/components/script/dom/blob.rs b/src/components/script/dom/blob.rs index 162a859acb1..f98021eac7a 100644 --- a/src/components/script/dom/blob.rs +++ b/src/components/script/dom/blob.rs @@ -7,7 +7,6 @@ use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object}; use dom::bindings::error::Fallible; use dom::bindings::codegen::BindingDeclarations::BlobBinding; use dom::window::Window; -use servo_util::str::DOMString; #[deriving(Encodable)] pub struct Blob { @@ -35,27 +34,6 @@ impl Blob { } pub trait BlobMethods { - fn Size(&self) -> u64; - fn Type(&self) -> DOMString; - fn Slice(&self, _start: Option, _end: Option, _contentType: Option) -> Temporary; - fn Close(&self); -} - -impl<'a> BlobMethods for JSRef<'a, Blob> { - fn Size(&self) -> u64 { - 0 - } - - fn Type(&self) -> DOMString { - "".to_owned() - } - - fn Slice(&self, _start: Option, _end: Option, _contentType: Option) -> Temporary { - let window = self.window.root(); - Blob::new(&window.root_ref()) - } - - fn Close(&self) {} } impl Reflectable for Blob { -- cgit v1.2.3