content/base/public/nsIDOMDataChannel.idl

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 #include "nsIDOMEventTarget.idl"
michael@0 6
michael@0 7 %{C++
michael@0 8 #ifdef GetBinaryType
michael@0 9 // Windows apparently has a #define for GetBinaryType...
michael@0 10 #undef GetBinaryType
michael@0 11 #endif
michael@0 12 %}
michael@0 13
michael@0 14 interface nsIVariant;
michael@0 15
michael@0 16 [scriptable, builtinclass, uuid(af7077ac-0f9f-44e1-815f-9b1a94618531)]
michael@0 17 interface nsIDOMDataChannel : nsIDOMEventTarget
michael@0 18 {
michael@0 19 readonly attribute DOMString label;
michael@0 20 readonly attribute DOMString protocol;
michael@0 21 readonly attribute boolean reliable;
michael@0 22 readonly attribute boolean ordered;
michael@0 23
michael@0 24 readonly attribute DOMString readyState;
michael@0 25 readonly attribute unsigned long bufferedAmount;
michael@0 26
michael@0 27 readonly attribute unsigned short id;
michael@0 28 readonly attribute unsigned short stream; /* deprecated name for 'id' */
michael@0 29
michael@0 30 [implicit_jscontext] attribute jsval onopen;
michael@0 31 [implicit_jscontext] attribute jsval onerror;
michael@0 32 [implicit_jscontext] attribute jsval onclose;
michael@0 33 [implicit_jscontext] attribute jsval onmessage;
michael@0 34
michael@0 35 attribute DOMString binaryType;
michael@0 36
michael@0 37 void close();
michael@0 38 };

mercurial