Lines Matching refs:RangeError
23 assertThrows(function() { String.fromCodePoint("_"); }, RangeError);
24 assertThrows(function() { String.fromCodePoint("+Infinity"); }, RangeError);
25 assertThrows(function() { String.fromCodePoint("-Infinity"); }, RangeError);
26 assertThrows(function() { String.fromCodePoint(-1); }, RangeError);
27 assertThrows(function() { String.fromCodePoint(0x10FFFF + 1); }, RangeError);
28 assertThrows(function() { String.fromCodePoint(3.14); }, RangeError);
29 assertThrows(function() { String.fromCodePoint(3e-2); }, RangeError);
30 assertThrows(function() { String.fromCodePoint(-Infinity); }, RangeError);
31 assertThrows(function() { String.fromCodePoint(+Infinity); }, RangeError);
32 assertThrows(function() { String.fromCodePoint(NaN); }, RangeError);
33 assertThrows(function() { String.fromCodePoint(undefined); }, RangeError);
34 assertThrows(function() { String.fromCodePoint({}); }, RangeError);
35 assertThrows(function() { String.fromCodePoint(/./); }, RangeError);