web-sys: Remove a bunch of non-standard, Mozilla-specific Web IDL

This commit is contained in:
Nick Fitzgerald
2018-08-15 11:12:22 -07:00
parent 6b5beda8d1
commit a40f83ea1b
36 changed files with 0 additions and 1579 deletions

View File

@ -22,9 +22,6 @@ enum XMLHttpRequestResponseType {
"document",
"json",
"text",
// Mozilla-specific stuff
"moz-chunked-arraybuffer",
};
/**
@ -118,29 +115,4 @@ interface XMLHttpRequest : XMLHttpRequestEventTarget {
[Throws, Exposed=Window]
readonly attribute Document? responseXML;
// Mozilla-specific stuff
[ChromeOnly, SetterThrows]
attribute boolean mozBackgroundRequest;
[ChromeOnly, Exposed=Window]
readonly attribute MozChannel? channel;
[Throws, ChromeOnly, Exposed=Window]
any getInterface(IID iid);
[ChromeOnly, Exposed=Window]
void setOriginAttributes(optional OriginAttributesDictionary originAttributes);
[ChromeOnly, Throws]
void sendInputStream(InputStream body);
// Only works on MainThread.
// Its permanence is to be evaluated in bug 1368540 for Firefox 60.
[ChromeOnly]
readonly attribute unsigned short errorCode;
readonly attribute boolean mozAnon;
readonly attribute boolean mozSystem;
};