| Index: Source/bindings/tests/idls/TestInterfacePython.idl
|
| diff --git a/Source/bindings/tests/idls/TestInterface.idl b/Source/bindings/tests/idls/TestInterfacePython.idl
|
| similarity index 69%
|
| copy from Source/bindings/tests/idls/TestInterface.idl
|
| copy to Source/bindings/tests/idls/TestInterfacePython.idl
|
| index 4561bdb1e7c6c47ef6bba01a973c9d9d34a38ed8..a19a7fd1129d34069a32c6820c30cd56eb19253b 100644
|
| --- a/Source/bindings/tests/idls/TestInterface.idl
|
| +++ b/Source/bindings/tests/idls/TestInterfacePython.idl
|
| @@ -28,44 +28,26 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -// Test for interface extended attributes and special operations.
|
| -// Also used as a target by TestObject
|
| -
|
| [
|
| ActiveDOMObject,
|
| Conditional=CONDITION,
|
| Custom=LegacyCallAsFunction|ToV8,
|
| - DoNotCheckConstants,
|
| - ImplementedAs=TestInterfaceImplementation,
|
| + ImplementedAs=TestInterfacePythonImplementation,
|
| RuntimeEnabled=FeatureName,
|
| - SetWrapperReferenceTo(TestInterface referencedName),
|
| + SetWrapperReferenceTo(TestInterfacePython referencedName),
|
| StrictTypeChecking,
|
| -] interface TestInterface : TestInterfaceEmpty {
|
| +] interface TestInterfacePython : TestInterfaceEmpty {
|
| // members needed to test [ImplementedAs], as this affect attribute
|
| // configuration and method configuration, and [StrictTypeChecking]
|
| - // constants also needed for [DoNotCheckConstants]
|
| const unsigned long UNSIGNED_LONG = 0;
|
| - [Reflect=CONST_CPP] const short CONST_JAVASCRIPT = 1;
|
| -
|
| - attribute TestInterface testInterfaceAttribute; // Self-referential interface type with [ImplementedAs]
|
| + attribute TestInterfacePython testInterfacePythonAttribute; // Self-referential interface type with [ImplementedAs]
|
| attribute TestImplementedAsConstructor testImplementedAsConstructorAttribute;
|
| static attribute DOMString staticStringAttribute;
|
| -
|
| void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyArg);
|
| [PerWorldBindings] attribute DOMString perWorldBindingsStringAttribute;
|
| [PerWorldBindings] void voidMethod();
|
| -
|
| - // Anonymous indexed property operations
|
| - getter DOMString (unsigned long index);
|
| - setter DOMString (unsigned long index, DOMString value);
|
| - deleter boolean (unsigned long index);
|
| -
|
| - // Anonymous named property operations
|
| - getter DOMString (DOMString name);
|
| - setter DOMString (DOMString name, DOMString value);
|
| - deleter boolean (DOMString name);
|
| };
|
|
|
| -TestInterface implements TestImplements;
|
| -TestInterface implements TestImplements2;
|
| -TestInterface implements TestImplements3;
|
| +TestInterfacePython implements TestImplements;
|
| +TestInterfacePython implements TestImplements2;
|
| +TestInterfacePython implements TestImplements3;
|
|
|