Chromium Code Reviews| Index: tools/idl_parser/test_parser/interface_web.idl |
| diff --git a/tools/idl_parser/test_parser/interface_web.idl b/tools/idl_parser/test_parser/interface_web.idl |
| index 8d41e91f82ccc7b51eaee72d5ccba87d28abd3dd..1f0db1c67aadb407cb2bd3aff2d692159bcba430 100644 |
| --- a/tools/idl_parser/test_parser/interface_web.idl |
| +++ b/tools/idl_parser/test_parser/interface_web.idl |
| @@ -181,3 +181,24 @@ interface MyIFaceStringifiers { |
| interface MyExtendedAttributeInterface { |
| [Attr, MethodIdentList=(Foo, Bar)] void method(); |
| }; |
| + |
| +/* TREE |
| + *Interface(MyIfacePromise) |
| + * Operation(method1) |
| + * Arguments() |
| + * Type() |
| + * Promise(Promise) |
|
noelallen1
2014/10/15 18:12:32
Shouldn't this be Promise(void) or
Promise()
yhirano
2014/10/16 05:25:47
Done.
|
| + * Operation(method2) |
| + * Arguments() |
| + * Type() |
| + * Promise(Promise) |
| + * Operation(method3) |
| + * Arguments() |
| + * Type() |
| + * Promise(Promise) |
| + */ |
| +interface MyIfacePromise { |
| + Promise<void> method1(); |
| + Promise<long> method2(); |
| + Promise method3(); |
| +}; |