diff options
Diffstat (limited to 'ipc/ipdl/test/cxx/PTestStackHooks.ipdl')
-rw-r--r-- | ipc/ipdl/test/cxx/PTestStackHooks.ipdl | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ipc/ipdl/test/cxx/PTestStackHooks.ipdl b/ipc/ipdl/test/cxx/PTestStackHooks.ipdl new file mode 100644 index 0000000000..3026dfbfbe --- /dev/null +++ b/ipc/ipdl/test/cxx/PTestStackHooks.ipdl @@ -0,0 +1,28 @@ +include "mozilla/_ipdltest/TestStackHooks.h"; + +namespace mozilla { +namespace _ipdltest { + + +[ManualDealloc, ChildImpl="TestStackHooksChild", ParentImpl="TestStackHooksParent"] +intr protocol PTestStackHooks { +child: + async Start(); + + // These tests are more fruitful running child->parent, because + // children can send |sync| messages +parent: + async Async(); + sync Sync(); + [LegacyIntr] intr Rpc(); + +both: + [LegacyIntr] intr StackFrame(); + +parent: + async __delete__(); +}; + + +} // namespace mozilla +} // namespace _ipdltest |