mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
2750a39e8f
--HG-- rename : content/base/public/nsIDOMDataChannel.idl => dom/webidl/DataChannel.webidl
40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "domstubs.idl"
|
|
|
|
#include "nsIDOMEventTarget.idl"
|
|
|
|
%{C++
|
|
#ifdef GetBinaryType
|
|
// Windows apparently has a #define for GetBinaryType...
|
|
#undef GetBinaryType
|
|
#endif
|
|
%}
|
|
|
|
interface nsIVariant;
|
|
|
|
[scriptable, builtinclass, uuid(4410f28d-c9eb-481d-a47e-e7ef49f382c8)]
|
|
interface nsIDOMDataChannel : nsIDOMEventTarget
|
|
{
|
|
readonly attribute DOMString label;
|
|
readonly attribute DOMString protocol;
|
|
readonly attribute boolean reliable;
|
|
readonly attribute boolean ordered;
|
|
|
|
readonly attribute DOMString readyState;
|
|
readonly attribute unsigned long bufferedAmount;
|
|
|
|
readonly attribute unsigned short stream;
|
|
|
|
[implicit_jscontext] attribute jsval onopen;
|
|
[implicit_jscontext] attribute jsval onerror;
|
|
[implicit_jscontext] attribute jsval onclose;
|
|
[implicit_jscontext] attribute jsval onmessage;
|
|
|
|
attribute DOMString binaryType;
|
|
|
|
void close();
|
|
};
|