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

@ -27,18 +27,6 @@ enum TCPReadyState {
"closed",
};
[NoInterfaceObject]
interface LegacyMozTCPSocket {
/**
* Legacy constructor for API compatibility.
*/
[Throws]
TCPSocket open(DOMString host, unsigned short port, optional SocketOptions options);
[Throws]
TCPServerSocket listen(unsigned short port, optional ServerSocketOptions options, optional unsigned short backlog = 0);
};
[Constructor(DOMString host, unsigned short port, optional SocketOptions options),
Func="mozilla::dom::TCPSocket::ShouldTCPSocketExist",
Exposed=(Window,System)]
@ -108,7 +96,7 @@ interface TCPSocket : EventTarget {
* and the caller may wish to wait until the ondrain event
* handler has been called before buffering more data by more
* calls to send.
*
*
* @throws Throws if the ready state is not OPEN.
*/
[Throws]
@ -133,7 +121,7 @@ interface TCPSocket : EventTarget {
* and the caller may wish to wait until the ondrain event
* handler has been called before buffering more data by more
* calls to send.
*
*
* @throws Throws if the ready state is not OPEN.
*/
[Throws]
@ -206,5 +194,5 @@ interface TCPSocket : EventTarget {
* If the "error" event was not dispatched before "close", then one of
* the sides cleanly closed the connection.
*/
attribute EventHandler onclose;
attribute EventHandler onclose;
};