Purge a number of Mozilla-specific WebIDL

Did a bunch of grepping for `moz*` and searched for "moz" in rustdoc,
deleting anything that looked mozilla-specific. Now there's nothing left
with the "moz" prefix in rustdoc!
This commit is contained in:
Alex Crichton
2018-09-20 17:19:36 -07:00
parent a85e49a2b4
commit 8c720bee50
30 changed files with 4 additions and 330 deletions

View File

@ -12,7 +12,6 @@
// invalid widl
// interface InputStream;
// interface MozChannel;
// interface IID;
enum XMLHttpRequestResponseType {
@ -24,27 +23,7 @@ enum XMLHttpRequestResponseType {
"text",
};
/**
* Parameters for instantiating an XMLHttpRequest. They are passed as an
* optional argument to the constructor:
*
* new XMLHttpRequest({anon: true, system: true});
*/
dictionary MozXMLHttpRequestParameters
{
/**
* If true, the request will be sent without cookie and authentication
* headers.
*/
boolean mozAnon = false;
/**
* If true, the same origin policy will not be enforced on the request.
*/
boolean mozSystem = false;
};
[Constructor(optional MozXMLHttpRequestParameters params),
[Constructor(),
// There are apparently callers, specifically CoffeeScript, who do
// things like this:
// c = new(window.ActiveXObject || XMLHttpRequest)("Microsoft.XMLHTTP")