Index: LayoutTests/fast/js/webidl-type-mapping-expected.txt |
diff --git a/LayoutTests/fast/js/webidl-type-mapping-expected.txt b/LayoutTests/fast/js/webidl-type-mapping-expected.txt |
index fe9e7b698af38b4690247dbc727e3dfe3df51436..f3b9e17f140ab8a3596c667dae25be5218ff289c 100644 |
--- a/LayoutTests/fast/js/webidl-type-mapping-expected.txt |
+++ b/LayoutTests/fast/js/webidl-type-mapping-expected.txt |
@@ -109,25 +109,25 @@ converter.testEnforceRangeLong = -0x8001 |
PASS converter.testEnforceRangeLong is -0x8001 |
converter.testEnforceRangeLong = 0x7FFFFFFF |
PASS converter.testEnforceRangeLong is 0x7FFFFFFF |
-PASS converter.testEnforceRangeLong = 0x80000000 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeLong = 0xFFFFFFFF threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeLong = 0x80000000 threw exception TypeError: Failed to set the 'testEnforceRangeLong' property on 'TypeConversions': Value is outside the 'long' value range.. |
+PASS converter.testEnforceRangeLong = 0xFFFFFFFF threw exception TypeError: Failed to set the 'testEnforceRangeLong' property on 'TypeConversions': Value is outside the 'long' value range.. |
converter.testEnforceRangeLong = -0x80000000 |
PASS converter.testEnforceRangeLong is -0x80000000 |
-PASS converter.testEnforceRangeLong = -0x80000001 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeLong = 0xDCBA9876543210 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeLong = Number.MAX_VALUE threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeLong = -0x80000001 threw exception TypeError: Failed to set the 'testEnforceRangeLong' property on 'TypeConversions': Value is outside the 'long' value range.. |
+PASS converter.testEnforceRangeLong = 0xDCBA9876543210 threw exception TypeError: Failed to set the 'testEnforceRangeLong' property on 'TypeConversions': Value is outside the 'long' value range.. |
+PASS converter.testEnforceRangeLong = Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeLong' property on 'TypeConversions': Value is outside the 'long' value range.. |
converter.testEnforceRangeLong = Number.MIN_VALUE |
PASS converter.testEnforceRangeLong is 0 |
-PASS converter.testEnforceRangeLong = -Number.MAX_VALUE threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeLong = -Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeLong' property on 'TypeConversions': Value is outside the 'long' value range.. |
converter.testEnforceRangeLong = -Number.MIN_VALUE |
PASS converter.testEnforceRangeLong is 0 |
converter.testEnforceRangeLong = 1.99 |
PASS converter.testEnforceRangeLong is 1 |
converter.testEnforceRangeLong = -1.99 |
PASS converter.testEnforceRangeLong is -1 |
-PASS converter.testEnforceRangeLong = Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeLong = -Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeLong = NaN threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeLong = Infinity threw exception TypeError: Failed to set the 'testEnforceRangeLong' property on 'TypeConversions': Value is infinite and not of type 'long'.. |
+PASS converter.testEnforceRangeLong = -Infinity threw exception TypeError: Failed to set the 'testEnforceRangeLong' property on 'TypeConversions': Value is infinite and not of type 'long'.. |
+PASS converter.testEnforceRangeLong = NaN threw exception TypeError: Failed to set the 'testEnforceRangeLong' property on 'TypeConversions': Value is not of type 'long'.. |
converter.testEnforceRangeLong = false |
PASS converter.testEnforceRangeLong is 0 |
converter.testEnforceRangeLong = true |
@@ -136,10 +136,10 @@ converter.testEnforceRangeLong = '' |
PASS converter.testEnforceRangeLong is 0 |
converter.testEnforceRangeLong = '1' |
PASS converter.testEnforceRangeLong is 1 |
-PASS converter.testEnforceRangeLong = 'abc' threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeLong = 'abc' threw exception TypeError: Failed to set the 'testEnforceRangeLong' property on 'TypeConversions': Value is not of type 'long'.. |
converter.testEnforceRangeLong = null |
PASS converter.testEnforceRangeLong is 0 |
-PASS converter.testEnforceRangeLong = undefined threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeLong = undefined threw exception TypeError: Failed to set the 'testEnforceRangeLong' property on 'TypeConversions': Value is not of type 'long'.. |
PASS converter.testEnforceRangeLong = {valueOf:function(){throw new Error('custom');}} threw exception Error: custom. |
converter.testUnsignedLong = 0 |
@@ -220,7 +220,7 @@ converter.testEnforceRangeUnsignedLong = 0 |
PASS converter.testEnforceRangeUnsignedLong is 0 |
converter.testEnforceRangeUnsignedLong = -0 |
PASS converter.testEnforceRangeUnsignedLong is 0 |
-PASS converter.testEnforceRangeUnsignedLong = -1 threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLong = -1 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is outside the 'unsigned long' value range.. |
converter.testEnforceRangeUnsignedLong = 1 |
PASS converter.testEnforceRangeUnsignedLong is 1 |
converter.testEnforceRangeUnsignedLong = 0x7F |
@@ -229,37 +229,37 @@ converter.testEnforceRangeUnsignedLong = 0x80 |
PASS converter.testEnforceRangeUnsignedLong is 0x80 |
converter.testEnforceRangeUnsignedLong = 0xFF |
PASS converter.testEnforceRangeUnsignedLong is 0xFF |
-PASS converter.testEnforceRangeUnsignedLong = -0x80 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLong = -0x81 threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLong = -0x80 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is outside the 'unsigned long' value range.. |
+PASS converter.testEnforceRangeUnsignedLong = -0x81 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is outside the 'unsigned long' value range.. |
converter.testEnforceRangeUnsignedLong = 0x7FFF |
PASS converter.testEnforceRangeUnsignedLong is 0x7FFF |
converter.testEnforceRangeUnsignedLong = 0x8000 |
PASS converter.testEnforceRangeUnsignedLong is 0x8000 |
converter.testEnforceRangeUnsignedLong = 0xFFFF |
PASS converter.testEnforceRangeUnsignedLong is 0xFFFF |
-PASS converter.testEnforceRangeUnsignedLong = -0x8000 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLong = -0x8001 threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLong = -0x8000 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is outside the 'unsigned long' value range.. |
+PASS converter.testEnforceRangeUnsignedLong = -0x8001 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is outside the 'unsigned long' value range.. |
converter.testEnforceRangeUnsignedLong = 0x7FFFFFFF |
PASS converter.testEnforceRangeUnsignedLong is 0x7FFFFFFF |
converter.testEnforceRangeUnsignedLong = 0x80000000 |
PASS converter.testEnforceRangeUnsignedLong is 0x80000000 |
converter.testEnforceRangeUnsignedLong = 0xFFFFFFFF |
PASS converter.testEnforceRangeUnsignedLong is 0xFFFFFFFF |
-PASS converter.testEnforceRangeUnsignedLong = -0x80000000 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLong = -0x80000001 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLong = 0xDCBA9876543210 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLong = Number.MAX_VALUE threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLong = -0x80000000 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is outside the 'unsigned long' value range.. |
+PASS converter.testEnforceRangeUnsignedLong = -0x80000001 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is outside the 'unsigned long' value range.. |
+PASS converter.testEnforceRangeUnsignedLong = 0xDCBA9876543210 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is outside the 'unsigned long' value range.. |
+PASS converter.testEnforceRangeUnsignedLong = Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is outside the 'unsigned long' value range.. |
converter.testEnforceRangeUnsignedLong = Number.MIN_VALUE |
PASS converter.testEnforceRangeUnsignedLong is 0 |
-PASS converter.testEnforceRangeUnsignedLong = -Number.MAX_VALUE threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLong = -Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is outside the 'unsigned long' value range.. |
converter.testEnforceRangeUnsignedLong = -Number.MIN_VALUE |
PASS converter.testEnforceRangeUnsignedLong is 0 |
converter.testEnforceRangeUnsignedLong = 1.99 |
PASS converter.testEnforceRangeUnsignedLong is 1 |
-PASS converter.testEnforceRangeUnsignedLong = -1.99 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLong = Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLong = -Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLong = NaN threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLong = -1.99 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is outside the 'unsigned long' value range.. |
+PASS converter.testEnforceRangeUnsignedLong = Infinity threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is infinite and not of type 'unsigned long'.. |
+PASS converter.testEnforceRangeUnsignedLong = -Infinity threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is infinite and not of type 'unsigned long'.. |
+PASS converter.testEnforceRangeUnsignedLong = NaN threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is not of type 'unsigned long'.. |
converter.testEnforceRangeUnsignedLong = false |
PASS converter.testEnforceRangeUnsignedLong is 0 |
converter.testEnforceRangeUnsignedLong = true |
@@ -268,10 +268,10 @@ converter.testEnforceRangeUnsignedLong = '' |
PASS converter.testEnforceRangeUnsignedLong is 0 |
converter.testEnforceRangeUnsignedLong = '1' |
PASS converter.testEnforceRangeUnsignedLong is 1 |
-PASS converter.testEnforceRangeUnsignedLong = 'abc' threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLong = 'abc' threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is not of type 'unsigned long'.. |
converter.testEnforceRangeUnsignedLong = null |
PASS converter.testEnforceRangeUnsignedLong is 0 |
-PASS converter.testEnforceRangeUnsignedLong = undefined threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLong = undefined threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLong' property on 'TypeConversions': Value is not of type 'unsigned long'.. |
PASS converter.testEnforceRangeUnsignedLong = {valueOf:function(){throw new Error('custom');}} threw exception Error: custom. |
converter.testLongLong = 0 |
@@ -386,20 +386,20 @@ converter.testEnforceRangeLongLong = -0x80000000 |
PASS converter.testEnforceRangeLongLong is -0x80000000 |
converter.testEnforceRangeLongLong = -0x80000001 |
PASS converter.testEnforceRangeLongLong is -0x80000001 |
-PASS converter.testEnforceRangeLongLong = 0xDCBA9876543210 threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeLongLong = 0xDCBA9876543210 threw exception TypeError: Failed to set the 'testEnforceRangeLongLong' property on 'TypeConversions': Value is outside the 'long long' value range.. |
converter.testEnforceRangeLongLong = Number.MIN_VALUE |
PASS converter.testEnforceRangeLongLong is 0 |
converter.testEnforceRangeLongLong = -Number.MIN_VALUE |
PASS converter.testEnforceRangeLongLong is 0 |
-PASS converter.testEnforceRangeLongLong = Number.MAX_VALUE threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeLongLong = -Number.MAX_VALUE threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeLongLong = Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeLongLong' property on 'TypeConversions': Value is outside the 'long long' value range.. |
+PASS converter.testEnforceRangeLongLong = -Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeLongLong' property on 'TypeConversions': Value is outside the 'long long' value range.. |
converter.testEnforceRangeLongLong = 1.99 |
PASS converter.testEnforceRangeLongLong is 1 |
converter.testEnforceRangeLongLong = -1.99 |
PASS converter.testEnforceRangeLongLong is -1 |
-PASS converter.testEnforceRangeLongLong = Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeLongLong = -Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeLongLong = NaN threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeLongLong = Infinity threw exception TypeError: Failed to set the 'testEnforceRangeLongLong' property on 'TypeConversions': Value is infinite and not of type 'long long'.. |
+PASS converter.testEnforceRangeLongLong = -Infinity threw exception TypeError: Failed to set the 'testEnforceRangeLongLong' property on 'TypeConversions': Value is infinite and not of type 'long long'.. |
+PASS converter.testEnforceRangeLongLong = NaN threw exception TypeError: Failed to set the 'testEnforceRangeLongLong' property on 'TypeConversions': Value is not of type 'long long'.. |
converter.testEnforceRangeLongLong = false |
PASS converter.testEnforceRangeLongLong is 0 |
converter.testEnforceRangeLongLong = true |
@@ -408,10 +408,10 @@ converter.testEnforceRangeLongLong = '' |
PASS converter.testEnforceRangeLongLong is 0 |
converter.testEnforceRangeLongLong = '1' |
PASS converter.testEnforceRangeLongLong is 1 |
-PASS converter.testEnforceRangeLongLong = 'abc' threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeLongLong = 'abc' threw exception TypeError: Failed to set the 'testEnforceRangeLongLong' property on 'TypeConversions': Value is not of type 'long long'.. |
converter.testEnforceRangeLongLong = null |
PASS converter.testEnforceRangeLongLong is 0 |
-PASS converter.testEnforceRangeLongLong = undefined threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeLongLong = undefined threw exception TypeError: Failed to set the 'testEnforceRangeLongLong' property on 'TypeConversions': Value is not of type 'long long'.. |
PASS converter.testEnforceRangeLongLong = {valueOf:function(){throw new Error('custom');}} threw exception Error: custom. |
converter.testUnsignedLongLong = 0 |
@@ -492,7 +492,7 @@ converter.testEnforceRangeUnsignedLongLong = 0 |
PASS converter.testEnforceRangeUnsignedLongLong is 0 |
converter.testEnforceRangeUnsignedLongLong = -0 |
PASS converter.testEnforceRangeUnsignedLongLong is 0 |
-PASS converter.testEnforceRangeUnsignedLongLong = -1 threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLongLong = -1 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is outside the 'unsigned long long' value range.. |
converter.testEnforceRangeUnsignedLongLong = 1 |
PASS converter.testEnforceRangeUnsignedLongLong is 1 |
converter.testEnforceRangeUnsignedLongLong = 0x7F |
@@ -501,37 +501,37 @@ converter.testEnforceRangeUnsignedLongLong = 0x80 |
PASS converter.testEnforceRangeUnsignedLongLong is 0x80 |
converter.testEnforceRangeUnsignedLongLong = 0xFF |
PASS converter.testEnforceRangeUnsignedLongLong is 0xFF |
-PASS converter.testEnforceRangeUnsignedLongLong = -0x80 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLongLong = -0x81 threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLongLong = -0x80 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is outside the 'unsigned long long' value range.. |
+PASS converter.testEnforceRangeUnsignedLongLong = -0x81 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is outside the 'unsigned long long' value range.. |
converter.testEnforceRangeUnsignedLongLong = 0x7FFF |
PASS converter.testEnforceRangeUnsignedLongLong is 0x7FFF |
converter.testEnforceRangeUnsignedLongLong = 0x8000 |
PASS converter.testEnforceRangeUnsignedLongLong is 0x8000 |
converter.testEnforceRangeUnsignedLongLong = 0xFFFF |
PASS converter.testEnforceRangeUnsignedLongLong is 0xFFFF |
-PASS converter.testEnforceRangeUnsignedLongLong = -0x8000 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLongLong = -0x8001 threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLongLong = -0x8000 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is outside the 'unsigned long long' value range.. |
+PASS converter.testEnforceRangeUnsignedLongLong = -0x8001 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is outside the 'unsigned long long' value range.. |
converter.testEnforceRangeUnsignedLongLong = 0x7FFFFFFF |
PASS converter.testEnforceRangeUnsignedLongLong is 0x7FFFFFFF |
converter.testEnforceRangeUnsignedLongLong = 0x80000000 |
PASS converter.testEnforceRangeUnsignedLongLong is 0x80000000 |
converter.testEnforceRangeUnsignedLongLong = 0xFFFFFFFF |
PASS converter.testEnforceRangeUnsignedLongLong is 0xFFFFFFFF |
-PASS converter.testEnforceRangeUnsignedLongLong = -0x80000000 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLongLong = -0x80000001 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLongLong = 0xDCBA9876543210 threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLongLong = -0x80000000 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is outside the 'unsigned long long' value range.. |
+PASS converter.testEnforceRangeUnsignedLongLong = -0x80000001 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is outside the 'unsigned long long' value range.. |
+PASS converter.testEnforceRangeUnsignedLongLong = 0xDCBA9876543210 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is outside the 'unsigned long long' value range.. |
converter.testEnforceRangeUnsignedLongLong = Number.MIN_VALUE |
PASS converter.testEnforceRangeUnsignedLongLong is 0 |
converter.testEnforceRangeUnsignedLongLong = -Number.MIN_VALUE |
PASS converter.testEnforceRangeUnsignedLongLong is 0 |
-PASS converter.testEnforceRangeUnsignedLongLong = Number.MAX_VALUE threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLongLong = -Number.MAX_VALUE threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLongLong = Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is outside the 'unsigned long long' value range.. |
+PASS converter.testEnforceRangeUnsignedLongLong = -Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is outside the 'unsigned long long' value range.. |
converter.testEnforceRangeUnsignedLongLong = 1.99 |
PASS converter.testEnforceRangeUnsignedLongLong is 1 |
-PASS converter.testEnforceRangeUnsignedLongLong = -1.99 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLongLong = Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLongLong = -Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedLongLong = NaN threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLongLong = -1.99 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is outside the 'unsigned long long' value range.. |
+PASS converter.testEnforceRangeUnsignedLongLong = Infinity threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is infinite and not of type 'unsigned long long'.. |
+PASS converter.testEnforceRangeUnsignedLongLong = -Infinity threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is infinite and not of type 'unsigned long long'.. |
+PASS converter.testEnforceRangeUnsignedLongLong = NaN threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is not of type 'unsigned long long'.. |
converter.testEnforceRangeUnsignedLongLong = false |
PASS converter.testEnforceRangeUnsignedLongLong is 0 |
converter.testEnforceRangeUnsignedLongLong = true |
@@ -540,10 +540,10 @@ converter.testEnforceRangeUnsignedLongLong = '' |
PASS converter.testEnforceRangeUnsignedLongLong is 0 |
converter.testEnforceRangeUnsignedLongLong = '1' |
PASS converter.testEnforceRangeUnsignedLongLong is 1 |
-PASS converter.testEnforceRangeUnsignedLongLong = 'abc' threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLongLong = 'abc' threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is not of type 'unsigned long long'.. |
converter.testEnforceRangeUnsignedLongLong = null |
PASS converter.testEnforceRangeUnsignedLongLong is 0 |
-PASS converter.testEnforceRangeUnsignedLongLong = undefined threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedLongLong = undefined threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedLongLong' property on 'TypeConversions': Value is not of type 'unsigned long long'.. |
PASS converter.testEnforceRangeUnsignedLongLong = {valueOf:function(){throw new Error('custom');}} threw exception Error: custom. |
converter.testByte = 0 |
@@ -614,27 +614,27 @@ converter.testEnforceRangeByte = 1 |
PASS converter.testEnforceRangeByte is 1 |
converter.testEnforceRangeByte = 0x7F |
PASS converter.testEnforceRangeByte is 0x7F |
-PASS converter.testEnforceRangeByte = 0x80 threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeByte = 0x80 threw exception TypeError: Failed to set the 'testEnforceRangeByte' property on 'TypeConversions': Value is outside the 'byte' value range.. |
converter.testEnforceRangeByte = -0x7F |
PASS converter.testEnforceRangeByte is -0x7F |
converter.testEnforceRangeByte = -0x80 |
PASS converter.testEnforceRangeByte is -0x80 |
-PASS converter.testEnforceRangeByte = -0x81 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeByte = 0x1234 threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeByte = -0x81 threw exception TypeError: Failed to set the 'testEnforceRangeByte' property on 'TypeConversions': Value is outside the 'byte' value range.. |
+PASS converter.testEnforceRangeByte = 0x1234 threw exception TypeError: Failed to set the 'testEnforceRangeByte' property on 'TypeConversions': Value is outside the 'byte' value range.. |
converter.testEnforceRangeByte = Number.MIN_VALUE |
PASS converter.testEnforceRangeByte is 0 |
converter.testEnforceRangeByte = -Number.MIN_VALUE |
PASS converter.testEnforceRangeByte is 0 |
-PASS converter.testEnforceRangeByte = Number.MAX_VALUE threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeByte = -Number.MAX_VALUE threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeByte = Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeByte' property on 'TypeConversions': Value is outside the 'byte' value range.. |
+PASS converter.testEnforceRangeByte = -Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeByte' property on 'TypeConversions': Value is outside the 'byte' value range.. |
converter.testEnforceRangeByte = 1.99 |
PASS converter.testEnforceRangeByte is 1 |
converter.testEnforceRangeByte = -1.99 |
PASS converter.testEnforceRangeByte is -1 |
-PASS converter.testEnforceRangeByte = 4660.99 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeByte = Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeByte = -Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeByte = NaN threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeByte = 4660.99 threw exception TypeError: Failed to set the 'testEnforceRangeByte' property on 'TypeConversions': Value is outside the 'byte' value range.. |
+PASS converter.testEnforceRangeByte = Infinity threw exception TypeError: Failed to set the 'testEnforceRangeByte' property on 'TypeConversions': Value is infinite and not of type 'byte'.. |
+PASS converter.testEnforceRangeByte = -Infinity threw exception TypeError: Failed to set the 'testEnforceRangeByte' property on 'TypeConversions': Value is infinite and not of type 'byte'.. |
+PASS converter.testEnforceRangeByte = NaN threw exception TypeError: Failed to set the 'testEnforceRangeByte' property on 'TypeConversions': Value is not of type 'byte'.. |
converter.testEnforceRangeByte = false |
PASS converter.testEnforceRangeByte is 0 |
converter.testEnforceRangeByte = true |
@@ -643,10 +643,10 @@ converter.testEnforceRangeByte = '' |
PASS converter.testEnforceRangeByte is 0 |
converter.testEnforceRangeByte = '1' |
PASS converter.testEnforceRangeByte is 1 |
-PASS converter.testEnforceRangeByte = 'abc' threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeByte = 'abc' threw exception TypeError: Failed to set the 'testEnforceRangeByte' property on 'TypeConversions': Value is not of type 'byte'.. |
converter.testEnforceRangeByte = null |
PASS converter.testEnforceRangeByte is 0 |
-PASS converter.testEnforceRangeByte = undefined threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeByte = undefined threw exception TypeError: Failed to set the 'testEnforceRangeByte' property on 'TypeConversions': Value is not of type 'byte'.. |
PASS converter.testEnforceRangeByte = {valueOf:function(){throw new Error('custom');}} threw exception Error: custom. |
converter.testOctet = 0 |
@@ -715,7 +715,7 @@ converter.testEnforceRangeOctet = 0 |
PASS converter.testEnforceRangeOctet is 0 |
converter.testEnforceRangeOctet = -0 |
PASS converter.testEnforceRangeOctet is 0 |
-PASS converter.testEnforceRangeOctet = -1 threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeOctet = -1 threw exception TypeError: Failed to set the 'testEnforceRangeOctet' property on 'TypeConversions': Value is outside the 'octet' value range.. |
converter.testEnforceRangeOctet = 1 |
PASS converter.testEnforceRangeOctet is 1 |
converter.testEnforceRangeOctet = 0x7F |
@@ -724,24 +724,24 @@ converter.testEnforceRangeOctet = 0x80 |
PASS converter.testEnforceRangeOctet is 0x80 |
converter.testEnforceRangeOctet = 0xFF |
PASS converter.testEnforceRangeOctet is 0xFF |
-PASS converter.testEnforceRangeOctet = 0x100 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeOctet = 0x101 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeOctet = -0x80 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeOctet = -0x81 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeOctet = 0x1234 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeOctet = Number.MAX_VALUE threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeOctet = 0x100 threw exception TypeError: Failed to set the 'testEnforceRangeOctet' property on 'TypeConversions': Value is outside the 'octet' value range.. |
+PASS converter.testEnforceRangeOctet = 0x101 threw exception TypeError: Failed to set the 'testEnforceRangeOctet' property on 'TypeConversions': Value is outside the 'octet' value range.. |
+PASS converter.testEnforceRangeOctet = -0x80 threw exception TypeError: Failed to set the 'testEnforceRangeOctet' property on 'TypeConversions': Value is outside the 'octet' value range.. |
+PASS converter.testEnforceRangeOctet = -0x81 threw exception TypeError: Failed to set the 'testEnforceRangeOctet' property on 'TypeConversions': Value is outside the 'octet' value range.. |
+PASS converter.testEnforceRangeOctet = 0x1234 threw exception TypeError: Failed to set the 'testEnforceRangeOctet' property on 'TypeConversions': Value is outside the 'octet' value range.. |
+PASS converter.testEnforceRangeOctet = Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeOctet' property on 'TypeConversions': Value is outside the 'octet' value range.. |
converter.testEnforceRangeOctet = Number.MIN_VALUE |
PASS converter.testEnforceRangeOctet is 0 |
-PASS converter.testEnforceRangeOctet = -Number.MAX_VALUE threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeOctet = -Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeOctet' property on 'TypeConversions': Value is outside the 'octet' value range.. |
converter.testEnforceRangeOctet = -Number.MIN_VALUE |
PASS converter.testEnforceRangeOctet is 0 |
converter.testEnforceRangeOctet = 1.99 |
PASS converter.testEnforceRangeOctet is 1 |
-PASS converter.testEnforceRangeOctet = -1.99 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeOctet = 4660.99 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeOctet = Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeOctet = -Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeOctet = NaN threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeOctet = -1.99 threw exception TypeError: Failed to set the 'testEnforceRangeOctet' property on 'TypeConversions': Value is outside the 'octet' value range.. |
+PASS converter.testEnforceRangeOctet = 4660.99 threw exception TypeError: Failed to set the 'testEnforceRangeOctet' property on 'TypeConversions': Value is outside the 'octet' value range.. |
+PASS converter.testEnforceRangeOctet = Infinity threw exception TypeError: Failed to set the 'testEnforceRangeOctet' property on 'TypeConversions': Value is infinite and not of type 'octet'.. |
+PASS converter.testEnforceRangeOctet = -Infinity threw exception TypeError: Failed to set the 'testEnforceRangeOctet' property on 'TypeConversions': Value is infinite and not of type 'octet'.. |
+PASS converter.testEnforceRangeOctet = NaN threw exception TypeError: Failed to set the 'testEnforceRangeOctet' property on 'TypeConversions': Value is not of type 'octet'.. |
converter.testEnforceRangeOctet = false |
PASS converter.testEnforceRangeOctet is 0 |
converter.testEnforceRangeOctet = true |
@@ -750,10 +750,10 @@ converter.testEnforceRangeOctet = '' |
PASS converter.testEnforceRangeOctet is 0 |
converter.testEnforceRangeOctet = '1' |
PASS converter.testEnforceRangeOctet is 1 |
-PASS converter.testEnforceRangeOctet = 'abc' threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeOctet = 'abc' threw exception TypeError: Failed to set the 'testEnforceRangeOctet' property on 'TypeConversions': Value is not of type 'octet'.. |
converter.testEnforceRangeOctet = null |
PASS converter.testEnforceRangeOctet is 0 |
-PASS converter.testEnforceRangeOctet = undefined threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeOctet = undefined threw exception TypeError: Failed to set the 'testEnforceRangeOctet' property on 'TypeConversions': Value is not of type 'octet'.. |
PASS converter.testEnforceRangeOctet = {valueOf:function(){throw new Error('custom');}} threw exception Error: custom. |
converter.testShort = 0 |
@@ -840,25 +840,25 @@ converter.testEnforceRangeShort = -0x81 |
PASS converter.testEnforceRangeShort is -0x81 |
converter.testEnforceRangeShort = 0x7FFF |
PASS converter.testEnforceRangeShort is 0x7FFF |
-PASS converter.testEnforceRangeShort = 0x8000 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeShort = 0xFFFF threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeShort = 0x8000 threw exception TypeError: Failed to set the 'testEnforceRangeShort' property on 'TypeConversions': Value is outside the 'short' value range.. |
+PASS converter.testEnforceRangeShort = 0xFFFF threw exception TypeError: Failed to set the 'testEnforceRangeShort' property on 'TypeConversions': Value is outside the 'short' value range.. |
converter.testEnforceRangeShort = -0x8000 |
PASS converter.testEnforceRangeShort is -0x8000 |
-PASS converter.testEnforceRangeShort = -0x8001 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeShort = 0xDCBA9876543210 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeShort = Number.MAX_VALUE threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeShort = -0x8001 threw exception TypeError: Failed to set the 'testEnforceRangeShort' property on 'TypeConversions': Value is outside the 'short' value range.. |
+PASS converter.testEnforceRangeShort = 0xDCBA9876543210 threw exception TypeError: Failed to set the 'testEnforceRangeShort' property on 'TypeConversions': Value is outside the 'short' value range.. |
+PASS converter.testEnforceRangeShort = Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeShort' property on 'TypeConversions': Value is outside the 'short' value range.. |
converter.testEnforceRangeShort = Number.MIN_VALUE |
PASS converter.testEnforceRangeShort is 0 |
-PASS converter.testEnforceRangeShort = -Number.MAX_VALUE threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeShort = -Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeShort' property on 'TypeConversions': Value is outside the 'short' value range.. |
converter.testEnforceRangeShort = -Number.MIN_VALUE |
PASS converter.testEnforceRangeShort is 0 |
converter.testEnforceRangeShort = 1.99 |
PASS converter.testEnforceRangeShort is 1 |
converter.testEnforceRangeShort = -1.99 |
PASS converter.testEnforceRangeShort is -1 |
-PASS converter.testEnforceRangeShort = Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeShort = -Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeShort = NaN threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeShort = Infinity threw exception TypeError: Failed to set the 'testEnforceRangeShort' property on 'TypeConversions': Value is infinite and not of type 'short'.. |
+PASS converter.testEnforceRangeShort = -Infinity threw exception TypeError: Failed to set the 'testEnforceRangeShort' property on 'TypeConversions': Value is infinite and not of type 'short'.. |
+PASS converter.testEnforceRangeShort = NaN threw exception TypeError: Failed to set the 'testEnforceRangeShort' property on 'TypeConversions': Value is not of type 'short'.. |
converter.testEnforceRangeShort = false |
PASS converter.testEnforceRangeShort is 0 |
converter.testEnforceRangeShort = true |
@@ -867,10 +867,10 @@ converter.testEnforceRangeShort = '' |
PASS converter.testEnforceRangeShort is 0 |
converter.testEnforceRangeShort = '1' |
PASS converter.testEnforceRangeShort is 1 |
-PASS converter.testEnforceRangeShort = 'abc' threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeShort = 'abc' threw exception TypeError: Failed to set the 'testEnforceRangeShort' property on 'TypeConversions': Value is not of type 'short'.. |
converter.testEnforceRangeShort = null |
PASS converter.testEnforceRangeShort is 0 |
-PASS converter.testEnforceRangeShort = undefined threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeShort = undefined threw exception TypeError: Failed to set the 'testEnforceRangeShort' property on 'TypeConversions': Value is not of type 'short'.. |
PASS converter.testEnforceRangeShort = {valueOf:function(){throw new Error('custom');}} threw exception Error: custom. |
converter.testUnsignedShort = 0 |
@@ -943,7 +943,7 @@ converter.testEnforceRangeUnsignedShort = 0 |
PASS converter.testEnforceRangeUnsignedShort is 0 |
converter.testEnforceRangeUnsignedShort = -0 |
PASS converter.testEnforceRangeUnsignedShort is 0 |
-PASS converter.testEnforceRangeUnsignedShort = -1 threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedShort = -1 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is outside the 'unsigned short' value range.. |
converter.testEnforceRangeUnsignedShort = 1 |
PASS converter.testEnforceRangeUnsignedShort is 1 |
converter.testEnforceRangeUnsignedShort = 0x7F |
@@ -952,31 +952,31 @@ converter.testEnforceRangeUnsignedShort = 0x80 |
PASS converter.testEnforceRangeUnsignedShort is 0x80 |
converter.testEnforceRangeUnsignedShort = 0xFF |
PASS converter.testEnforceRangeUnsignedShort is 0xFF |
-PASS converter.testEnforceRangeUnsignedShort = -0x80 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedShort = -0x81 threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedShort = -0x80 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is outside the 'unsigned short' value range.. |
+PASS converter.testEnforceRangeUnsignedShort = -0x81 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is outside the 'unsigned short' value range.. |
converter.testEnforceRangeUnsignedShort = 0x7FFF |
PASS converter.testEnforceRangeUnsignedShort is 0x7FFF |
converter.testEnforceRangeUnsignedShort = 0x8000 |
PASS converter.testEnforceRangeUnsignedShort is 0x8000 |
converter.testEnforceRangeUnsignedShort = 0xFFFF |
PASS converter.testEnforceRangeUnsignedShort is 0xFFFF |
-PASS converter.testEnforceRangeUnsignedShort = 0x10000 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedShort = -0x8000 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedShort = -0x8001 threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedShort = 0x10000 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is outside the 'unsigned short' value range.. |
+PASS converter.testEnforceRangeUnsignedShort = -0x8000 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is outside the 'unsigned short' value range.. |
+PASS converter.testEnforceRangeUnsignedShort = -0x8001 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is outside the 'unsigned short' value range.. |
converter.testEnforceRangeUnsignedShort = 0x3210 |
PASS converter.testEnforceRangeUnsignedShort is 0x3210 |
-PASS converter.testEnforceRangeUnsignedShort = Number.MAX_VALUE threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedShort = Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is outside the 'unsigned short' value range.. |
converter.testEnforceRangeUnsignedShort = Number.MIN_VALUE |
PASS converter.testEnforceRangeUnsignedShort is 0 |
-PASS converter.testEnforceRangeUnsignedShort = -Number.MAX_VALUE threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedShort = -Number.MAX_VALUE threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is outside the 'unsigned short' value range.. |
converter.testEnforceRangeUnsignedShort = -Number.MIN_VALUE |
PASS converter.testEnforceRangeUnsignedShort is 0 |
converter.testEnforceRangeUnsignedShort = 1.99 |
PASS converter.testEnforceRangeUnsignedShort is 1 |
-PASS converter.testEnforceRangeUnsignedShort = -1.99 threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedShort = Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedShort = -Infinity threw exception TypeError: Type error. |
-PASS converter.testEnforceRangeUnsignedShort = NaN threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedShort = -1.99 threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is outside the 'unsigned short' value range.. |
+PASS converter.testEnforceRangeUnsignedShort = Infinity threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is infinite and not of type 'unsigned short'.. |
+PASS converter.testEnforceRangeUnsignedShort = -Infinity threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is infinite and not of type 'unsigned short'.. |
+PASS converter.testEnforceRangeUnsignedShort = NaN threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is not of type 'unsigned short'.. |
converter.testEnforceRangeUnsignedShort = false |
PASS converter.testEnforceRangeUnsignedShort is 0 |
converter.testEnforceRangeUnsignedShort = true |
@@ -985,10 +985,10 @@ converter.testEnforceRangeUnsignedShort = '' |
PASS converter.testEnforceRangeUnsignedShort is 0 |
converter.testEnforceRangeUnsignedShort = '1' |
PASS converter.testEnforceRangeUnsignedShort is 1 |
-PASS converter.testEnforceRangeUnsignedShort = 'abc' threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedShort = 'abc' threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is not of type 'unsigned short'.. |
converter.testEnforceRangeUnsignedShort = null |
PASS converter.testEnforceRangeUnsignedShort is 0 |
-PASS converter.testEnforceRangeUnsignedShort = undefined threw exception TypeError: Type error. |
+PASS converter.testEnforceRangeUnsignedShort = undefined threw exception TypeError: Failed to set the 'testEnforceRangeUnsignedShort' property on 'TypeConversions': Value is not of type 'unsigned short'.. |
PASS converter.testEnforceRangeUnsignedShort = {valueOf:function(){throw new Error('custom');}} threw exception Error: custom. |
PASS successfullyParsed is true |