diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-07-27 22:36:19 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-07-27 22:54:51 +0200 |
commit | 0f9942a2c6c7ac535441c958cbd27fe0552c4c4f (patch) | |
tree | 89abc5f1351bbfd53cc680ebf37c6e9b98cbdb37 /src/components/script/dom/xmlhttprequest.rs | |
parent | 25fb906c6f0f7eb9868c2dc8595961be26c82518 (diff) | |
download | servo-0f9942a2c6c7ac535441c958cbd27fe0552c4c4f.tar.gz servo-0f9942a2c6c7ac535441c958cbd27fe0552c4c4f.zip |
Remove OverrideMimeType from XMLHttpRequestMethods.
It is not present in the IDL, and is not actually implemented.
Diffstat (limited to 'src/components/script/dom/xmlhttprequest.rs')
-rw-r--r-- | src/components/script/dom/xmlhttprequest.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/components/script/dom/xmlhttprequest.rs b/src/components/script/dom/xmlhttprequest.rs index de67dca73f1..e7fa2658a30 100644 --- a/src/components/script/dom/xmlhttprequest.rs +++ b/src/components/script/dom/xmlhttprequest.rs @@ -277,7 +277,6 @@ pub trait XMLHttpRequestMethods<'a> { fn StatusText(&self) -> ByteString; fn GetResponseHeader(&self, name: ByteString) -> Option<ByteString>; fn GetAllResponseHeaders(&self) -> ByteString; - fn OverrideMimeType(&self, _mime: DOMString); fn ResponseType(&self) -> XMLHttpRequestResponseType; fn SetResponseType(&self, response_type: XMLHttpRequestResponseType) -> ErrorResult; fn Response(&self, _cx: *mut JSContext) -> JSVal; @@ -630,9 +629,6 @@ impl<'a> XMLHttpRequestMethods<'a> for JSRef<'a, XMLHttpRequest> { ByteString::new(vec) } - fn OverrideMimeType(&self, _mime: DOMString) { - - } fn ResponseType(&self) -> XMLHttpRequestResponseType { self.response_type.deref().get() } |