summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestSyncError.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/cxx/PTestSyncError.ipdl')
-rw-r--r--ipc/ipdl/test/cxx/PTestSyncError.ipdl28
1 files changed, 28 insertions, 0 deletions
diff --git a/ipc/ipdl/test/cxx/PTestSyncError.ipdl b/ipc/ipdl/test/cxx/PTestSyncError.ipdl
new file mode 100644
index 000000000..05b68ff35
--- /dev/null
+++ b/ipc/ipdl/test/cxx/PTestSyncError.ipdl
@@ -0,0 +1,28 @@
+
+namespace mozilla {
+namespace _ipdltest {
+
+
+sync protocol PTestSyncError {
+
+child:
+ async Start();
+
+parent:
+ sync Error();
+ async __delete__();
+
+
+state START:
+ send Start goto SYNC_ERROR;
+
+state SYNC_ERROR:
+ recv Error goto DEAD;
+
+state DEAD:
+ recv __delete__;
+};
+
+
+} // namespace mozilla
+} // namespace _ipdltest