From 0f9942a2c6c7ac535441c958cbd27fe0552c4c4f Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Sun, 27 Jul 2014 22:36:19 +0200 Subject: [PATCH] Remove OverrideMimeType from XMLHttpRequestMethods. It is not present in the IDL, and is not actually implemented. --- src/components/script/dom/xmlhttprequest.rs | 4 ---- 1 file changed, 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; 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; @@ -629,9 +628,6 @@ impl<'a> XMLHttpRequestMethods<'a> for JSRef<'a, XMLHttpRequest> { vec.pop(); ByteString::new(vec) - } - fn OverrideMimeType(&self, _mime: DOMString) { - } fn ResponseType(&self) -> XMLHttpRequestResponseType { self.response_type.deref().get()