зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1319595, part 6 - Fix various IPDL tests. r=billm
managerNoCtor.ipdl: Add a message so that parsing doesn't just fail immediately with a syntax error. shmem_access_union.ipdl: Remove this test, which involves the semi-removed ACL feature for shmem. oldIncludesyntax.ipdl: To be safe, make the protocol more valid by adding a message. multimanNonexistentMgrs.ipdl: Make the name of the protocol match the name of the file. MozReview-Commit-ID: 9zx5fmAWIIc --HG-- extra : rebase_source : a5b9b9f19bc0329a06ca4ff8be3ef4b879054dd9
This commit is contained in:
Родитель
554d2bf9c1
Коммит
35d5402bc4
|
@ -5,4 +5,6 @@ protocol managerNoCtor {
|
|||
|
||||
parent:
|
||||
// error: no ctor defined
|
||||
async __delete__();
|
||||
// We need at least one message declared so we don't just hit a syntax error.
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
protocol multimanNonexistentManagers {
|
||||
protocol multimanNonexistentMgrs {
|
||||
manager Starsky or Hutch;
|
||||
|
||||
child:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
include protocol "Foo.ipdl";
|
||||
|
||||
protocol oldIncludeSyntax {
|
||||
|
||||
child: async __delete__(X x);
|
||||
};
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
union Union {
|
||||
[-r-w|+r+w] Shmem;
|
||||
};
|
||||
|
||||
protocol shmem_access_union {
|
||||
child:
|
||||
async Msg(Union u);
|
||||
};
|
Загрузка…
Ссылка в новой задаче