Index: third_party/WebKit/Source/bindings/tests/idls/core/TestTypedefs.idl |
diff --git a/third_party/WebKit/Source/bindings/tests/idls/core/TestTypedefs.idl b/third_party/WebKit/Source/bindings/tests/idls/core/TestTypedefs.idl |
index 9f3006e0d36538522e1d99fafb464f70d2d2655c..aa57e1b4f9734f13acecb1c6a3f78ecb0b9ba5eb 100644 |
--- a/third_party/WebKit/Source/bindings/tests/idls/core/TestTypedefs.idl |
+++ b/third_party/WebKit/Source/bindings/tests/idls/core/TestTypedefs.idl |
@@ -42,6 +42,9 @@ typedef TestCallbackInterface TestCallbackInterfaceType; |
typedef TestInterfaceConstructor T; |
typedef (TestInterface or TestInterfaceEmpty) TestInterfaceOrTestInterfaceEmpty; |
typedef (DOMString or double) DOMStringOrDouble; |
+typedef record<ByteString, long> SomeRecordType; |
+typedef record<USVString, TestObject> RecordWithOilpanValueType; |
+typedef (sequence<sequence<ByteString>> or record<ByteString, ByteString>) UnionWithRecord; |
[ |
Constructor(String stringArg), |
@@ -61,4 +64,9 @@ typedef (DOMString or double) DOMStringOrDouble; |
ArrayOfStrings arrayOfStringsMethodArrayOfStringsArg(ArrayOfStrings arrayOfStringsArg); |
String[] stringArrayMethodStringArrayArg(String[] stringArrayArg); |
+ |
+ void methodTakingRecord(SomeRecordType arg); |
+ void methodTakingOilpanValueRecord(RecordWithOilpanValueType arg); |
+ double unionWithRecordMethod(UnionWithRecord arg); |
+ record<DOMString, boolean> methodThatReturnsRecord(); |
}; |