ipc/ipdl/test/cxx/PTestSyncError.ipdl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ipc/ipdl/test/cxx/PTestSyncError.ipdl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +
     1.5 +namespace mozilla {
     1.6 +namespace _ipdltest {
     1.7 +
     1.8 +
     1.9 +sync protocol PTestSyncError {
    1.10 +
    1.11 +child:
    1.12 +    Start();
    1.13 +
    1.14 +parent:
    1.15 +    sync Error();
    1.16 +    __delete__();
    1.17 +
    1.18 +
    1.19 +state START:
    1.20 +    send Start goto SYNC_ERROR;
    1.21 +
    1.22 +state SYNC_ERROR:
    1.23 +    recv Error goto DEAD;
    1.24 +
    1.25 +state DEAD:
    1.26 +    recv __delete__;
    1.27 +};
    1.28 +
    1.29 +
    1.30 +} // namespace mozilla
    1.31 +} // namespace _ipdltest

mercurial