summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestStackHooks.ipdl
blob: 3026dfbfbe642c9bbc35035f0583f7593fb0e439 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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