| Index: bindings/scripts/test/TestObj.idl
|
| diff --git a/bindings/scripts/test/TestObj.idl b/bindings/scripts/test/TestObj.idl
|
| index 24a0e6c09a386b6bfafdb0dcceba9d2ef2556478..d3f6f2b9853b943bb4ca4dddfe62a143c8cef2c8 100644
|
| --- a/bindings/scripts/test/TestObj.idl
|
| +++ b/bindings/scripts/test/TestObj.idl
|
| @@ -150,6 +150,19 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
|
| static void staticMethodWithCallbackArg(in [Callback] TestCallback callback);
|
| #endif
|
|
|
| +#if defined(TESTING_V8)
|
| + // 'EnforceRange' extended attribute
|
| + void methodWithEnforceRangeInt32(in [EnforceRange] long value);
|
| + void methodWithEnforceRangeUInt32(in [EnforceRange] unsigned long value);
|
| + void methodWithEnforceRangeInt64(in [EnforceRange] long long value);
|
| + void methodWithEnforceRangeUInt64(in [EnforceRange] unsigned long long value);
|
| +
|
| + attribute [EnforceRange] long enforcedRangeLongAttr;
|
| + attribute [EnforceRange] unsigned long enforcedRangeUnsignedLongAttr;
|
| + attribute [EnforceRange] long long enforcedRangeLongLongAttr;
|
| + attribute [EnforceRange] unsigned long long enforcedRangeUnsignedLongLongAttr;
|
| +#endif
|
| +
|
| // 'Conditional' extended attribute
|
| [Conditional=Condition1] attribute long conditionalAttr1;
|
| [Conditional=Condition1&Condition2] attribute long conditionalAttr2;
|
| @@ -271,4 +284,15 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
|
| void variadicStringMethod(in DOMString head, in DOMString... tail);
|
| void variadicDoubleMethod(in double head, in double... tail);
|
| void variadicNodeMethod(in Node head, in Node... tail);
|
| +
|
| + // Nullable attributes.
|
| + readonly attribute double? nullableDoubleAttribute;
|
| + readonly attribute long? nullableLongAttribute;
|
| + readonly attribute boolean? nullableBooleanAttribute;
|
| + readonly attribute DOMString? nullableStringAttribute;
|
| +
|
| + attribute long? nullableLongSettableAttribute;
|
| +
|
| + attribute long? nullableStringValue
|
| + getter raises(DOMException);
|
| };
|
|
|