mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-22 01:01:34 +00:00
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:
18
crates/web-sys/webidls/enabled/TCPSocket.webidl
vendored
18
crates/web-sys/webidls/enabled/TCPSocket.webidl
vendored
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user