summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestBadActor.ipdl
blob: 991e6eb9451a6dac46c7b8cbd18863333fd768d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include protocol PTestBadActorSub;

include "mozilla/_ipdltest/TestBadActor.h";

namespace mozilla {
namespace _ipdltest {

// Test that a parent sending a reentrant __delete__ message
// is not killed if a child's message races with the reply.

[ManualDealloc, ChildImpl="TestBadActorChild", ParentImpl="TestBadActorParent"]
intr protocol PTestBadActor {
  manages PTestBadActorSub;

child:
  async PTestBadActorSub();
  async __delete__();
};

} // namespace _ipdltest
} // namespace mozilla