Searched refs:RangeError (Results 1 – 25 of 62) sorted by relevance
123
/external/v8/test/mjsunit/harmony/ |
D | string-fromcodepoint.js | 25 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 …]
|
D | typedarrays.js | 44 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 …]
|
D | string-repeat.js | 64 assertThrows('"a".repeat(-1)', RangeError); 65 assertThrows('"a".repeat(Number.POSITIVE_INFINITY)', RangeError);
|
D | string-endswith.js | 362 "toString": function() { throw RangeError(); } 364 }, RangeError); 405 "toString": function() { throw RangeError(); } 407 }, RangeError);
|
D | string-startswith.js | 347 "toString": function() { throw RangeError(); } 349 }, RangeError); 396 "toString": function() { throw RangeError(); } 398 }, RangeError);
|
D | string-contains.js | 159 "throw RangeError(); } }, /./)", RangeError); 164 "throw RangeError(); } }, [/./])", RangeError);
|
/external/v8/test/mjsunit/regress/ |
D | regress-324028.js | 30 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);
|
D | regress-2443.js | 118 RangeError); 123 RangeError); 128 RangeError);
|
D | regress-crbug-385002.js | 10 assertThrows(f, RangeError); 15 assertThrows("g()", RangeError);
|
D | regress-581.js | 35 assertThrows(function() { a.concat(a); }, RangeError); 46 assertThrows(function() { c.concat(c, a); }, RangeError);
|
D | regress-353004.js | 23 }, RangeError); 40 }, RangeError);
|
D | regress-crbug-357137.js | 8 assertThrows("f()", RangeError);
|
D | regress-340125.js | 30 assertThrows(function () { a.set(b, 1e10); }, RangeError);
|
/external/v8/test/webkit/fast/js/ |
D | number-toprecision-expected.txt | 37 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 …]
|
D | deep-recursion-test-expected.txt | 29 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…
|
D | number-toString-expected.txt | 29 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 …]
|
D | number-tofixed-expected.txt | 68 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/ |
D | number-toExponential-expected.txt | 43 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 …
|
D | function-apply-aliased-expected.txt | 48 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/ |
D | json-stringify-recursive.js | 43 RangeError); 49 assertThrows(function() { JSON.stringify(deepArray); }, RangeError); 54 assertThrows(function() { JSON.stringify(deepObject); }, RangeError);
|
D | string-oom-replace-global-regexp-with-string.js | 16 assertThrows(replace1, RangeError); 26 assertThrows(replace2, RangeError);
|
D | json-parser-recursive.js | 33 assertThrows(function() { JSON.parse(str); }, RangeError);
|
D | string-oom-concat.js | 13 assertThrows(concat, RangeError);
|
/external/v8/test/intl/string/ |
D | normalization.js | 67 assertThrows('"".normalize(1234)', RangeError); 68 assertThrows('"".normalize("BAD")', RangeError);
|
/external/v8/test/mjsunit/bugs/ |
D | bug-2615.js | 30 assertThrows("a.unshift(1);", RangeError); 37 assertThrows("a.splice(1,1,7,7,7,7,7);", RangeError);
|
123