aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/blob.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-06-02 12:32:09 +0200
committerMs2ger <ms2ger@gmail.com>2014-06-02 12:32:09 +0200
commitc1d2d700c5aa14d28d7b28d7118055597c1f2839 (patch)
treee05df38eadc178f4b81145e1b10161793dfe06d0 /src/components/script/dom/blob.rs
parent59cef940e899a900b4601dbbc9b4d4bd96a96687 (diff)
downloadservo-c1d2d700c5aa14d28d7b28d7118055597c1f2839.tar.gz
servo-c1d2d700c5aa14d28d7b28d7118055597c1f2839.zip
Remove not-yet-implemented APIs, and update MouseEvent to specification.
Diffstat (limited to 'src/components/script/dom/blob.rs')
-rw-r--r--src/components/script/dom/blob.rs22
1 files changed, 0 insertions, 22 deletions
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<i64>, _end: Option<i64>, _contentType: Option<DOMString>) -> Temporary<Blob>;
- 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<i64>, _end: Option<i64>, _contentType: Option<DOMString>) -> Temporary<Blob> {
- let window = self.window.root();
- Blob::new(&window.root_ref())
- }
-
- fn Close(&self) {}
}
impl Reflectable for Blob {