diff -r 000000000000 -r 6474c204b198 ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,34 @@ +namespace mozilla { +namespace _ipdltest { + +intr protocol PTestInterruptShutdownRace { +parent: + sync StartDeath(); + async Orphan(); + +child: + async Start(); + intr Exit(); + async __delete__(); + +state START: + send Start goto START_DEATH; + +state START_DEATH: + recv StartDeath goto EXITING; + +state EXITING: + recv Orphan goto QUITTING1; + call Exit goto QUITTING2; + +state QUITTING1: + call Exit goto DEAD; +state QUITTING2: + recv Orphan goto DEAD; + +state DEAD: + send __delete__; +}; + +} // namespace _ipdltest +} // namespace mozilla