summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestPriority.ipdl
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipdl/test/cxx/PTestPriority.ipdl')
-rw-r--r--ipc/ipdl/test/cxx/PTestPriority.ipdl24
1 files changed, 24 insertions, 0 deletions
diff --git a/ipc/ipdl/test/cxx/PTestPriority.ipdl b/ipc/ipdl/test/cxx/PTestPriority.ipdl
new file mode 100644
index 0000000000..8b85368072
--- /dev/null
+++ b/ipc/ipdl/test/cxx/PTestPriority.ipdl
@@ -0,0 +1,24 @@
+namespace mozilla {
+namespace _ipdltest {
+
+[ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
+sync protocol PTestPriority {
+parent:
+ [Priority=input] async PMsg1();
+ [Priority=input] sync PMsg2();
+ [Priority=vsync] async PMsg3();
+ [Priority=vsync] sync PMsg4();
+ [Priority=mediumhigh] async PMsg5();
+ [Priority=mediumhigh] sync PMsg6();
+ [Priority=control] async PMsg7();
+ [Priority=control] sync PMsg8();
+
+child:
+ [Priority=input] async CMsg1();
+ [Priority=vsync] async CMsg2();
+ [Priority=mediumhigh] async CMsg3();
+ [Priority=control] async CMsg4();
+};
+
+} // namespace _ipdltest
+} // namespace mozilla