| Index: Source/bindings/tests/idls/TestObjectPython.idl
|
| diff --git a/Source/bindings/tests/idls/TestObjectPython.idl b/Source/bindings/tests/idls/TestObjectPython.idl
|
| index d78256c4a36ae47282d382ddaacfe9ece9060338..8a738e607fd8f251758312b594b62c7d9b01ff2a 100644
|
| --- a/Source/bindings/tests/idls/TestObjectPython.idl
|
| +++ b/Source/bindings/tests/idls/TestObjectPython.idl
|
| @@ -31,6 +31,30 @@
|
| enum TestEnum {"", "EnumValue1", "EnumValue2", "EnumValue3"};
|
|
|
| interface TestObjectPython {
|
| + // Constants
|
| + const unsigned short CONST_VALUE_0 = 0;
|
| + const unsigned short CONST_VALUE_1 = 1;
|
| + const unsigned short CONST_VALUE_2 = 2;
|
| + const unsigned short CONST_VALUE_4 = 4;
|
| + const unsigned short CONST_VALUE_8 = 8;
|
| + const short CONST_VALUE_9 = -1;
|
| + const DOMString CONST_VALUE_10 = "my constant string";
|
| + const unsigned short CONST_VALUE_11 = 0xffffffff;
|
| + const unsigned short CONST_VALUE_12 = 0x01;
|
| + const unsigned short CONST_VALUE_13 = 0X20;
|
| + const unsigned short CONST_VALUE_14 = 0x1abc;
|
| + const unsigned short CONST_VALUE_15 = 010;
|
| + const unsigned short CONST_VALUE_16 = -010;
|
| + const unsigned short CONST_VALUE_16 = -0x1A;
|
| + const unsigned short CONST_VALUE_17 = -0X1a;
|
| +
|
| + // Extended attributes
|
| + [DeprecateAs=Constant] const short DEPRECATED_CONSTANT = 1;
|
| + [RuntimeEnabled=FeatureName] const short FEATURE_ENABLED_CONST = 1;
|
| + [Reflect=CONST_IMPL] const short CONST_JAVASCRIPT = 1;
|
| +
|
| +
|
| + // Attributes
|
| // TestInterfaceEmpty is used as a stub interface type, for testing behavior
|
| // that should not depend on particular type (beyond "interface or not").
|
| // read only
|
| @@ -163,6 +187,7 @@ interface TestObjectPython {
|
| [Reflect=ReflectUrlAttribute, URL] attribute DOMString urlStringAttribute;
|
| [Unforgeable] attribute long unforgeableLongAttribute;
|
|
|
| +
|
| // Methods
|
| void voidMethod();
|
| static void staticVoidMethod();
|
|
|