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:
Andrew McCreight 2016-11-22 15:26:08 -08:00
Родитель 554d2bf9c1
Коммит 35d5402bc4
4 изменённых файлов: 4 добавлений и 10 удалений

Просмотреть файл

@ -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);
};