Index: Source/bindings/tests/idls/core/TestObject.idl |
diff --git a/Source/bindings/tests/idls/core/TestObject.idl b/Source/bindings/tests/idls/core/TestObject.idl |
index cd404dcf14b93d6b1264f0081d7a007dcd81529b..18d3def1604cbda5d870529193f6717dbc489ff3 100644 |
--- a/Source/bindings/tests/idls/core/TestObject.idl |
+++ b/Source/bindings/tests/idls/core/TestObject.idl |
@@ -414,6 +414,9 @@ interface TestObject { |
void voidMethodDefaultNullableByteStringArg(optional ByteString? defaultStringArg = null); |
void voidMethodDefaultNullableStringArg(optional DOMString? defaultStringArg = null); |
void voidMethodDefaultNullableTestInterfaceArg(optional TestInterface? defaultTestInterfaceArg = null); |
+ void voidMethodDefaultDoubleOrStringArgs(optional (double or DOMString) defaultLongArg = 10.0, |
+ optional (double or DOMString?) defaultStringArg = "foo", |
+ optional (double or DOMString)? defaultNullArg = null); |
// Variadic operations |
void voidMethodVariadicStringArg(DOMString... variadicStringArgs); |