From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- ipc/ipdl/test/cxx/PTestCancel.ipdl | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 ipc/ipdl/test/cxx/PTestCancel.ipdl (limited to 'ipc/ipdl/test/cxx/PTestCancel.ipdl') diff --git a/ipc/ipdl/test/cxx/PTestCancel.ipdl b/ipc/ipdl/test/cxx/PTestCancel.ipdl new file mode 100644 index 0000000000..4ad902e8e1 --- /dev/null +++ b/ipc/ipdl/test/cxx/PTestCancel.ipdl @@ -0,0 +1,39 @@ +include "mozilla/_ipdltest/TestCancel.h"; + +namespace mozilla { +namespace _ipdltest { + +[ManualDealloc, NestedUpTo=inside_sync, ChildImpl="TestCancelChild", ParentImpl="TestCancelParent"] +sync protocol PTestCancel +{ +// Test1 +child: + [Nested=inside_sync] sync Test1_1(); +parent: + async Done1(); + +// Test2 +child: + async Start2(); + [Nested=inside_sync] sync Test2_2(); +parent: + sync Test2_1(); + +// Test3 +child: + [Nested=inside_sync] sync Test3_1(); +parent: + async Start3(); + [Nested=inside_sync] sync Test3_2(); + +parent: + async Done(); + +child: + [Nested=inside_sync] sync CheckChild() returns (uint32_t reply); +parent: + [Nested=inside_sync] sync CheckParent() returns (uint32_t reply); +}; + +} // namespace _ipdltest +} // namespace mozilla -- cgit v1.2.3