summaryrefslogtreecommitdiff
path: root/ipc/ipdl/test/cxx/PTestShutdownSub.ipdl
blob: 39d45d9ed82416652e9065451b425e20233fd946 (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
29
30
include protocol PTestShutdown;
include protocol PTestShutdownSubsub;

namespace mozilla {
namespace _ipdltest {

intr protocol PTestShutdownSub {
    manager PTestShutdown;
    manages PTestShutdownSubsub;

both:
    intr StackFrame();

parent:
    async PTestShutdownSubsub(bool expectParentDeleted);
    sync __delete__();

state CREATING:
    recv PTestShutdownSubsub goto CREATING;
    answer StackFrame goto DUMMYFRAME;

state DUMMYFRAME:
    call StackFrame goto DEAD;

state DEAD:
    recv __delete__;
};

} // namespace _ipdltest
} // namespace mozilla