summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestOpens.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/cxx/PTestOpens.ipdl')
-rw-r--r--ipc/ipdl/test/cxx/PTestOpens.ipdl25
1 files changed, 25 insertions, 0 deletions
diff --git a/ipc/ipdl/test/cxx/PTestOpens.ipdl b/ipc/ipdl/test/cxx/PTestOpens.ipdl
new file mode 100644
index 000000000..2717328fa
--- /dev/null
+++ b/ipc/ipdl/test/cxx/PTestOpens.ipdl
@@ -0,0 +1,25 @@
+include protocol PTestOpensOpened;
+
+namespace mozilla {
+namespace _ipdltest {
+
+
+protocol PTestOpens {
+ // This channel is opened and parked on a non-main thread
+ child opens PTestOpensOpened;
+
+child:
+ async Start();
+
+parent:
+ async __delete__();
+
+state START:
+ send Start goto DEAD;
+state DEAD:
+ recv __delete__;
+};
+
+
+} // namespace mozilla
+} // namespace _ipdltest