ipc/ipdl/test/cxx/PTestOpens.ipdl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ipc/ipdl/test/cxx/PTestOpens.ipdl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +include protocol PTestOpensOpened;
     1.5 +
     1.6 +namespace mozilla {
     1.7 +namespace _ipdltest {
     1.8 +
     1.9 +
    1.10 +protocol PTestOpens {
    1.11 +    // This channel is opened and parked on a non-main thread
    1.12 +    child opens PTestOpensOpened;
    1.13 +
    1.14 +child:
    1.15 +    Start();
    1.16 +
    1.17 +parent:
    1.18 +    __delete__();
    1.19 +
    1.20 +state START:
    1.21 +    send Start goto DEAD;
    1.22 +state DEAD:
    1.23 +    recv __delete__;
    1.24 +};
    1.25 +
    1.26 +
    1.27 +} // namespace mozilla
    1.28 +} // namespace _ipdltest

mercurial