mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Remove OverrideMimeType from XMLHttpRequestMethods.
It is not present in the IDL, and is not actually implemented.
This commit is contained in:
parent
25fb906c6f
commit
0f9942a2c6
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue