summaryrefslogtreecommitdiff
path: root/dom/base/nsIDOMDataChannel.idl
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /dom/base/nsIDOMDataChannel.idl
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloaduxp-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
Add m-esr52 at 52.6.0
Diffstat (limited to 'dom/base/nsIDOMDataChannel.idl')
-rw-r--r--dom/base/nsIDOMDataChannel.idl37
1 files changed, 37 insertions, 0 deletions
diff --git a/dom/base/nsIDOMDataChannel.idl b/dom/base/nsIDOMDataChannel.idl
new file mode 100644
index 0000000000..5836b21865
--- /dev/null
+++ b/dom/base/nsIDOMDataChannel.idl
@@ -0,0 +1,37 @@
+/* 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 "nsIDOMEventTarget.idl"
+
+%{C++
+#ifdef GetBinaryType
+// Windows apparently has a #define for GetBinaryType...
+#undef GetBinaryType
+#endif
+%}
+
+interface nsIVariant;
+
+[builtinclass, uuid(b00a4ca7-312e-4926-84f6-8ebb43e53d83)]
+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 id;
+
+ [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();
+};