summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestSanity.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/cxx/PTestSanity.ipdl')
-rw-r--r--ipc/ipdl/test/cxx/PTestSanity.ipdl28
1 files changed, 28 insertions, 0 deletions
diff --git a/ipc/ipdl/test/cxx/PTestSanity.ipdl b/ipc/ipdl/test/cxx/PTestSanity.ipdl
new file mode 100644
index 000000000..50249b741
--- /dev/null
+++ b/ipc/ipdl/test/cxx/PTestSanity.ipdl
@@ -0,0 +1,28 @@
+
+namespace mozilla {
+namespace _ipdltest {
+
+
+protocol PTestSanity {
+
+child:
+ async Ping(int zero, float zeroPtFive, int8_t dummy);
+ async __delete__();
+
+parent:
+ async Pong(int one, float zeroPtTwoFive, uint8_t dummy);
+
+
+state PING:
+ send Ping goto PONG;
+
+state PONG:
+ recv Pong goto DEAD;
+
+state DEAD:
+ send __delete__;
+};
+
+
+} // namespace mozilla
+} // namespace _ipdltest