Properly generate typedef identities in unions

This commit is contained in:
Keith Yeung 2016-09-07 21:45:54 -07:00
parent 3631e314b9
commit 3976d974fc
4 changed files with 23 additions and 6 deletions

View file

@ -6,6 +6,7 @@
// web pages.
enum TestEnum { "", "foo", "bar" };
typedef (DOMString or URL or Blob) TestTypedef;
dictionary TestDictionary {
required boolean requiredValue;
@ -241,6 +242,8 @@ interface TestBinding {
void passUnion6((unsigned long or boolean) bool);
void passUnion7((sequence<DOMString> or unsigned long) arg);
void passUnion8((sequence<ByteString> or long) arg);
void passUnionWithTypedef((Document or TestTypedef) arg);
void passUnionWithTypedef2((sequence<long> or TestTypedef) arg);
void passAny(any arg);
void passObject(object arg);
void passCallbackFunction(Function fun);