Home
last modified time | relevance | path

Searched refs:RangeError (Results 1 – 25 of 62) sorted by relevance

123

/external/v8/test/mjsunit/harmony/
Dstring-fromcodepoint.js25 assertThrows(function() { String.fromCodePoint("_"); }, RangeError);
26 assertThrows(function() { String.fromCodePoint("+Infinity"); }, RangeError);
27 assertThrows(function() { String.fromCodePoint("-Infinity"); }, RangeError);
28 assertThrows(function() { String.fromCodePoint(-1); }, RangeError);
29 assertThrows(function() { String.fromCodePoint(0x10FFFF + 1); }, RangeError);
30 assertThrows(function() { String.fromCodePoint(3.14); }, RangeError);
31 assertThrows(function() { String.fromCodePoint(3e-2); }, RangeError);
32 assertThrows(function() { String.fromCodePoint(-Infinity); }, RangeError);
33 assertThrows(function() { String.fromCodePoint(+Infinity); }, RangeError);
34 assertThrows(function() { String.fromCodePoint(NaN); }, RangeError);
[all …]
Dtypedarrays.js44 assertThrows(function() { new ArrayBuffer(-10); }, RangeError);
45 assertThrows(function() { new ArrayBuffer(-2.567); }, RangeError);
210 assertThrows(function () { new constr(ab, 257*elementSize); }, RangeError);
213 RangeError);
217 RangeError);
222 assertThrows(function() { new constr(unalignedArrayBuffer)}, RangeError);
224 RangeError);
522 assertThrows(function() { new DataView(ab, -1); }, RangeError);
523 assertThrows(function() { new DataView(ab, 1, -1); }, RangeError);
526 assertThrows(function() { new DataView(ab, 257); }, RangeError);
[all …]
Dstring-repeat.js64 assertThrows('"a".repeat(-1)', RangeError);
65 assertThrows('"a".repeat(Number.POSITIVE_INFINITY)', RangeError);
Dstring-endswith.js362 "toString": function() { throw RangeError(); }
364 }, RangeError);
405 "toString": function() { throw RangeError(); }
407 }, RangeError);
Dstring-startswith.js347 "toString": function() { throw RangeError(); }
349 }, RangeError);
396 "toString": function() { throw RangeError(); }
398 }, RangeError);
Dstring-contains.js159 "throw RangeError(); } }, /./)", RangeError);
164 "throw RangeError(); } }, [/./])", RangeError);
/external/v8/test/mjsunit/regress/
Dregress-324028.js30 assertThrows(function() { new Uint8Array(badObj); }, RangeError);
31 assertThrows(function() { new Uint8ClampedArray(badObj); }, RangeError);
32 assertThrows(function() { new Int8Array(badObj); }, RangeError);
33 assertThrows(function() { new Uint16Array(badObj); }, RangeError);
34 assertThrows(function() { new Int16Array(badObj); }, RangeError);
35 assertThrows(function() { new Uint32Array(badObj); }, RangeError);
36 assertThrows(function() { new Int32Array(badObj); }, RangeError);
37 assertThrows(function() { new Float32Array(badObj); }, RangeError);
38 assertThrows(function() { new Float64Array(badObj); }, RangeError);
Dregress-2443.js118 RangeError);
123 RangeError);
128 RangeError);
Dregress-crbug-385002.js10 assertThrows(f, RangeError);
15 assertThrows("g()", RangeError);
Dregress-581.js35 assertThrows(function() { a.concat(a); }, RangeError);
46 assertThrows(function() { c.concat(c, a); }, RangeError);
Dregress-353004.js23 }, RangeError);
40 }, RangeError);
Dregress-crbug-357137.js8 assertThrows("f()", RangeError);
Dregress-340125.js30 assertThrows(function () { a.set(b, 1e10); }, RangeError);
/external/v8/test/webkit/fast/js/
Dnumber-toprecision-expected.txt37 PASS (1234.567).toPrecision(0) threw exception RangeError: toPrecision() argument must be between 1…
38 PASS (1234.567).toPrecision(null) threw exception RangeError: toPrecision() argument must be betwee…
39 PASS (1234.567).toPrecision(false) threw exception RangeError: toPrecision() argument must be betwe…
40 PASS (1234.567).toPrecision('foo') threw exception RangeError: toPrecision() argument must be betwe…
41 PASS (1234.567).toPrecision(-1) threw exception RangeError: toPrecision() argument must be between …
49 PASS (1234.567).toPrecision(22) threw exception RangeError: toPrecision() argument must be between …
50 PASS (1234.567).toPrecision(100) threw exception RangeError: toPrecision() argument must be between…
51 PASS (1234.567).toPrecision(101) threw exception RangeError: toPrecision() argument must be between…
52 PASS (1234.567).toPrecision(posInf) threw exception RangeError: toPrecision() argument must be betw…
53 PASS (1234.567).toPrecision(negInf) threw exception RangeError: toPrecision() argument must be betw…
[all …]
Ddeep-recursion-test-expected.txt29 FAIL msg should be RangeError: Maximum call stack size exceeded.. Was RangeError: Maximum call stac…
30 FAIL msg should be RangeError: Maximum call stack size exceeded.. Was RangeError: Maximum call stac…
31 FAIL msg should be RangeError: Maximum call stack size exceeded.. Was RangeError: Maximum call stac…
32 FAIL msg should be RangeError: Maximum call stack size exceeded.. Was RangeError: Maximum call stac…
Dnumber-toString-expected.txt29 PASS (1234.567).toString(0) threw exception RangeError: toString() radix argument must be between 2…
30 PASS (1234.567).toString(null) threw exception RangeError: toString() radix argument must be betwee…
31 PASS (1234.567).toString(false) threw exception RangeError: toString() radix argument must be betwe…
32 PASS (1234.567).toString('foo') threw exception RangeError: toString() radix argument must be betwe…
33 PASS (1234.567).toString(nan) threw exception RangeError: toString() radix argument must be between…
34 PASS (1234.567).toString(1) threw exception RangeError: toString() radix argument must be between 2…
35 PASS (1234.567).toString(true) threw exception RangeError: toString() radix argument must be betwee…
36 PASS (1234.567).toString('1') threw exception RangeError: toString() radix argument must be between…
73 PASS (1234.567).toString(37) threw exception RangeError: toString() radix argument must be between …
74 PASS (1234.567).toString(-1) threw exception RangeError: toString() radix argument must be between …
[all …]
Dnumber-tofixed-expected.txt68 PASS (1234.567).toFixed(21) threw exception RangeError: toFixed() digits argument must be between 0…
69 PASS (1234.567).toFixed(100) threw exception RangeError: toFixed() digits argument must be between …
70 PASS (1234.567).toFixed(101) threw exception RangeError: toFixed() digits argument must be between …
71 PASS (1234.567).toFixed(-1) threw exception RangeError: toFixed() digits argument must be between 0…
72 PASS (1234.567).toFixed(-4) threw exception RangeError: toFixed() digits argument must be between 0…
73 PASS (1234.567).toFixed(-5) threw exception RangeError: toFixed() digits argument must be between 0…
74 PASS (1234.567).toFixed(-20) threw exception RangeError: toFixed() digits argument must be between …
75 PASS (1234.567).toFixed(-21) threw exception RangeError: toFixed() digits argument must be between …
76 PASS (1234.567).toFixed(posInf) threw exception RangeError: toFixed() digits argument must be betwe…
77 PASS (1234.567).toFixed(negInf) threw exception RangeError: toFixed() digits argument must be betwe…
/external/v8/test/webkit/
Dnumber-toExponential-expected.txt43 PASS (123.456).toExponential(21) threw exception RangeError: toExponential() argument must be betwe…
44 PASS (123.456).toExponential(100) threw exception RangeError: toExponential() argument must be betw…
45 PASS (123.456).toExponential(101) threw exception RangeError: toExponential() argument must be betw…
46 PASS (123.456).toExponential(-1) threw exception RangeError: toExponential() argument must be betwe…
47 PASS (1234.567).toExponential(posInf) threw exception RangeError: toExponential() argument must be …
48 PASS (1234.567).toExponential(negInf) threw exception RangeError: toExponential() argument must be …
Dfunction-apply-aliased-expected.txt48 PASS myFunction.apply(null, new Array(5000000)) threw exception RangeError: Maximum call stack size…
49 PASS myFunction.apply(null, new Array(1 << 30)) threw exception RangeError: Maximum call stack size…
50 PASS recurseArguments.apply(null, new Array(50000)) threw exception RangeError: Maximum call stack …
/external/v8/test/mjsunit/
Djson-stringify-recursive.js43 RangeError);
49 assertThrows(function() { JSON.stringify(deepArray); }, RangeError);
54 assertThrows(function() { JSON.stringify(deepObject); }, RangeError);
Dstring-oom-replace-global-regexp-with-string.js16 assertThrows(replace1, RangeError);
26 assertThrows(replace2, RangeError);
Djson-parser-recursive.js33 assertThrows(function() { JSON.parse(str); }, RangeError);
Dstring-oom-concat.js13 assertThrows(concat, RangeError);
/external/v8/test/intl/string/
Dnormalization.js67 assertThrows('"".normalize(1234)', RangeError);
68 assertThrows('"".normalize("BAD")', RangeError);
/external/v8/test/mjsunit/bugs/
Dbug-2615.js30 assertThrows("a.unshift(1);", RangeError);
37 assertThrows("a.splice(1,1,7,7,7,7,7);", RangeError);

123