From fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:14:29 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- ipc/ipdl/test/cxx/PTestJSON.ipdl | 49 ---------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 ipc/ipdl/test/cxx/PTestJSON.ipdl (limited to 'ipc/ipdl/test/cxx/PTestJSON.ipdl') diff --git a/ipc/ipdl/test/cxx/PTestJSON.ipdl b/ipc/ipdl/test/cxx/PTestJSON.ipdl deleted file mode 100644 index c785abe77a..0000000000 --- a/ipc/ipdl/test/cxx/PTestJSON.ipdl +++ /dev/null @@ -1,49 +0,0 @@ -include protocol PTestHandle; - -include "mozilla/_ipdltest/TestJSON.h"; - -using struct mozilla::void_t from "mozilla/ipc/IPCCore.h"; -using struct mozilla::null_t from "mozilla/ipc/IPCCore.h"; - -namespace mozilla { -namespace _ipdltest { - -union Key { -// int; -// double; - nsString; -}; - -struct KeyValue { - Key key; - JSONVariant value; -}; - -union JSONVariant { - void_t; - null_t; - bool; - int; - double; - nsString; - PTestHandle; - KeyValue[]; - JSONVariant[]; -}; - -[ManualDealloc, ChildImpl="TestJSONChild", ParentImpl="TestJSONParent"] -sync protocol PTestJSON { - manages PTestHandle; - -child: - async Start(); - -parent: - async PTestHandle(); - sync Test(JSONVariant i) - returns (JSONVariant o); - async __delete__(); -}; - -} // namespace mozilla -} // namespace _ipdltest -- cgit v1.2.3