Index: Source/bindings/tests/idls/TestInterfaceNamedConstructor.idl |
diff --git a/Source/bindings/tests/idls/TestInterfaceNamedConstructor.idl b/Source/bindings/tests/idls/TestInterfaceNamedConstructor.idl |
index 8ea0c273feb633defab91df08a79dd79b581eaa7..f346a7469b7c683d9be58b2c43fbd9ca8f0369b9 100644 |
--- a/Source/bindings/tests/idls/TestInterfaceNamedConstructor.idl |
+++ b/Source/bindings/tests/idls/TestInterfaceNamedConstructor.idl |
@@ -36,4 +36,8 @@ |
[Default=NullString] optional DOMString defaultNullStringOptionalstringArg), |
RaisesException=Constructor, |
] interface TestInterfaceNamedConstructor { |
+ // An attribute of type {interface_name}ConstructorConstructor is generated |
+ // in *Constructors.idl file, which is a partial interface for the global |
+ // object, e.g. Window. We put this here to avoid another test file. |
+ attribute TestNamedConstructorConstructor testNamedConstructorConstructorAttribute; |
}; |