Chromium Code Reviews| Index: Source/bindings/tests/idls/TestObject.idl |
| diff --git a/Source/bindings/tests/idls/TestObject.idl b/Source/bindings/tests/idls/TestObject.idl |
| index 549f640829b41b11b8e2a1ccd5a6880885ada3a1..2ea1028d9e566f91705fa9a7e98e5d2fff3f75c4 100644 |
| --- a/Source/bindings/tests/idls/TestObject.idl |
| +++ b/Source/bindings/tests/idls/TestObject.idl |
| @@ -32,6 +32,8 @@ |
| enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" }; |
| +callback TestCallbackFunction = void (TestEnumType formal1, TestObject formal2); |
| + |
| [ |
| Constructor(TestCallback testCallback), |
| ImplementedAs=TestObj |
| @@ -178,6 +180,11 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" }; |
| readonly attribute any cachedAttribute2; |
| attribute any anyAttribute; |
| + any anyReturnValue(); |
|
haraken
2013/06/10 09:11:03
Do you need to add this test? In conclusion, it lo
|
| + |
| + attribute TestCallbackFunction callbackFunctionAttribute; |
| + TestCallbackFunction callbackFunctionReturnValue(); |
| + void callbackFunctionArgument(TestCallbackFunction f); |
|
haraken
2013/06/10 09:11:03
Nit: f => function
|
| // Overloads |
| void overloadedMethod(TestObject? objArg, [StrictTypeChecking] DOMString strArg); |