Index: bindings/tests/idls/core/TestInterface2.idl |
diff --git a/bindings/tests/idls/core/TestInterface2.idl b/bindings/tests/idls/core/TestInterface2.idl |
index 8bb30a6e7400a3655887d81c5886b296836956fd..02de68e29664a71e36300530d76c6c301c373c3d 100644 |
--- a/bindings/tests/idls/core/TestInterface2.idl |
+++ b/bindings/tests/idls/core/TestInterface2.idl |
@@ -34,24 +34,27 @@ |
// The more *minor* extended attribute should be put in this file. |
[ |
- Constructor, // Test interaction with [Custom=Wrap] |
- Custom=Wrap, // Conflicts with and [Custom=ToV8], respectively |
+ Constructor, |
DependentLifetime, // Covered by [ActiveDOMObject] |
SetWrapperReferenceFrom=ownerNode, // Conflicts with [SetWrapperReferenceTo] |
- SpecialWrapFor=(TestInterface,TestInterfaceEmpty), // Conflicts with [Custom=ToV8] |
+ // Note that Exposed(Arguments) has no effect on bindings-tests. It is |
+ // processed in generate_global_constructors.py. |
+ Exposed(Window FeatureName), // Conflicts with Exposed=(Window,Worker) |
] interface TestInterface2 { |
// This interface has only runtime enabled constants. |
[RuntimeEnabled=FeatureName] const unsigned short CONST_VALUE_1 = 1; |
// Indexed property operations with an identifier |
[RaisesException] getter TestInterfaceEmpty item(unsigned long index); |
- [RaisesException] setter DOMString setItem(unsigned long index, DOMString value); |
+ [RaisesException, TypeChecking=Interface] setter TestInterfaceEmpty setItem(unsigned long index, TestInterfaceEmpty value); |
[RaisesException] deleter boolean deleteItem(unsigned long index); |
// Named property operations with an identifier |
[RaisesException] getter TestInterfaceEmpty namedItem(DOMString name); |
- [RaisesException] setter DOMString setNamedItem(DOMString name, DOMString value); |
+ [RaisesException, TypeChecking=Interface] setter TestInterfaceEmpty setNamedItem(DOMString name, TestInterfaceEmpty? value); |
[RaisesException] deleter boolean deleteNamedItem(DOMString name); |
stringifier DOMString stringifierMethod(); |
+ |
+ readonly setlike<TestInterfaceEmpty>; |
}; |