mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 10:27:32 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
56
ipc/ipdl/test/cxx/PTestStackHooks.ipdl
Normal file
56
ipc/ipdl/test/cxx/PTestStackHooks.ipdl
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
|
||||
namespace mozilla {
|
||||
namespace _ipdltest {
|
||||
|
||||
|
||||
intr protocol PTestStackHooks {
|
||||
child:
|
||||
async Start();
|
||||
|
||||
// These tests are more fruitful running child->parent, because
|
||||
// children can send |sync| messages
|
||||
parent:
|
||||
async Async();
|
||||
sync Sync();
|
||||
intr Rpc();
|
||||
|
||||
both:
|
||||
intr StackFrame();
|
||||
|
||||
parent:
|
||||
async __delete__();
|
||||
|
||||
|
||||
state START:
|
||||
send Start goto TEST1;
|
||||
|
||||
state TEST1:
|
||||
recv Async goto TEST2;
|
||||
|
||||
state TEST2:
|
||||
recv Sync goto TEST3;
|
||||
|
||||
state TEST3:
|
||||
answer Rpc goto TEST4;
|
||||
|
||||
state TEST4:
|
||||
answer StackFrame goto TEST4_2;
|
||||
state TEST4_2:
|
||||
call StackFrame goto TEST4_3;
|
||||
state TEST4_3:
|
||||
recv Async goto TEST5;
|
||||
|
||||
state TEST5:
|
||||
answer StackFrame goto TEST5_2;
|
||||
state TEST5_2:
|
||||
call StackFrame goto TEST5_3;
|
||||
state TEST5_3:
|
||||
recv Sync goto DEAD;
|
||||
|
||||
state DEAD:
|
||||
recv __delete__;
|
||||
};
|
||||
|
||||
|
||||
} // namespace mozilla
|
||||
} // namespace _ipdltest
|
||||
Loading…
Add table
Add a link
Reference in a new issue