Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: Source/bindings/tests/idls/TestObject.idl

Issue 54903014: [EnforceRange] doesn't enforce range of a short (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Extend layout test Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/tests/idls/TestObject.idl
diff --git a/Source/bindings/tests/idls/TestObject.idl b/Source/bindings/tests/idls/TestObject.idl
index c6e56a71caaa606edb334c6bd608d6417a4ff94b..3beb819d0f40c767c1b43f83867238039a216a56 100644
--- a/Source/bindings/tests/idls/TestObject.idl
+++ b/Source/bindings/tests/idls/TestObject.idl
@@ -156,6 +156,8 @@ callback TestCallbackFunction = void (TestEnumType formal1, TestObject formal2);
// 'EnforceRange' extended attribute
void methodWithEnforceRangeInt8([EnforceRange] byte value);
void methodWithEnforceRangeUInt8([EnforceRange] octet value);
+ void methodWithEnforceRangeInt16([EnforceRange] short value);
+ void methodWithEnforceRangeUInt16([EnforceRange] unsigned short value);
void methodWithEnforceRangeInt32([EnforceRange] long value);
void methodWithEnforceRangeUInt32([EnforceRange] unsigned long value);
void methodWithEnforceRangeInt64([EnforceRange] long long value);
@@ -163,6 +165,8 @@ callback TestCallbackFunction = void (TestEnumType formal1, TestObject formal2);
[EnforceRange] attribute byte enforcedRangeByteAttr;
[EnforceRange] attribute octet enforcedRangeOctetAttr;
+ [EnforceRange] attribute short enforcedRangeShortAttr;
+ [EnforceRange] attribute unsigned short enforcedRangeUnsignedShortAttr;
[EnforceRange] attribute long enforcedRangeLongAttr;
[EnforceRange] attribute unsigned long enforcedRangeUnsignedLongAttr;
[EnforceRange] attribute long long enforcedRangeLongLongAttr;

Powered by Google App Engine
This is Rietveld 408576698