summaryrefslogtreecommitdiffstats
path: root/dom/network/interfaces/nsITCPSocketCallback.idl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/network/interfaces/nsITCPSocketCallback.idl')
-rw-r--r--dom/network/interfaces/nsITCPSocketCallback.idl8
1 files changed, 1 insertions, 7 deletions
diff --git a/dom/network/interfaces/nsITCPSocketCallback.idl b/dom/network/interfaces/nsITCPSocketCallback.idl
index 4a2b7a9ef2..181b84abeb 100644
--- a/dom/network/interfaces/nsITCPSocketCallback.idl
+++ b/dom/network/interfaces/nsITCPSocketCallback.idl
@@ -11,12 +11,6 @@
#include "domstubs.idl"
-%{C++
-#include "nsTArrayForwardDeclare.h"
-%}
-[ref] native nsUint8TArrayRef(nsTArray<uint8_t>);
-[ptr] native JSContextPtr(JSContext);
-
/*
* This interface is implemented in TCPSocket.cpp as an internal interface
@@ -36,7 +30,7 @@ interface nsITCPSocketCallback : nsISupports {
void fireDataStringEvent(in AString type, in ACString data);
// Dispatch a "data" event at this object with an Array
- void fireDataArrayEvent(in AString type, [const] in nsUint8TArrayRef data);
+ void fireDataArrayEvent(in AString type, in Array<uint8_t> data);
// Dispatch an event of the given type at this object.
void fireEvent(in AString type);