Upstream version 10.38.222.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / tests / idls / TestInterfaceConstructor2.idl
index b9d045c..10057de 100644 (file)
 // TestInterfaceConstructor.idl), otherwise overload resolution check string is
 // extremely long and triggers a lint warning (line length).
 [
+    // 2 constructors with same type length, to test overload resolution
     Constructor(DOMString stringArg),
+    Constructor(Dictionary dictionaryArg),
     Constructor(
         TestInterfaceEmpty testInterfaceEmptyArg,
         long longArg,
         [Default=Undefined] optional DOMString defaultUndefinedOptionalStringArg,
-        [Default=NullString] optional DOMString defaultNullStringOptionalStringArg,
+        optional DOMString defaultNullStringOptionalStringArg = null,
         [Default=Undefined] optional Dictionary defaultUndefinedOptionalDictionaryArg,
         optional DOMString optionalStringArg),
 ] interface TestInterfaceConstructor2 {