/external/v8/test/mjsunit/es6/ |
D | string-fromcodepoint.js | 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); [all …]
|
D | string-repeat.js | 63 assertThrows('"a".repeat(-1)', RangeError); 64 assertThrows('"a".repeat(Number.POSITIVE_INFINITY)', RangeError); 65 assertThrows('"a".repeat(Math.pow(2, 30))', RangeError); 66 assertThrows('"a".repeat(Math.pow(2, 40))', RangeError); 69 assertThrows('"".repeat(-1)', RangeError); 70 assertThrows('"".repeat(Number.POSITIVE_INFINITY)', RangeError);
|
D | typedarray.js | 46 assertThrows(function() { new ArrayBuffer(-10); }, RangeError); 47 assertThrows(function() { new ArrayBuffer(-2.567); }, RangeError); 217 assertThrows(function () { new constr(ab, 257*elementSize); }, RangeError); 220 RangeError); 224 RangeError); 229 assertThrows(function() { new constr(unalignedArrayBuffer)}, RangeError); 231 RangeError); 674 assertThrows(function() { new DataView(ab, -1); }, RangeError); 675 assertThrows(function() { new DataView(ab, 1, -1); }, RangeError); 678 assertThrows(function() { new DataView(ab, 257); }, RangeError); [all …]
|
D | instanceof-proxies.js | 58 assertThrows(() => { proxy instanceof Object }, RangeError); 61 assertThrows(() => { proxy instanceof Object }, 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-451013.js | 7 }, RangeError); 11 }, RangeError);
|
D | regress-crbug-385002.js | 10 assertThrows(f, RangeError); 15 assertThrows("g()", RangeError);
|
D | regress-splice-large-index.js | 30 assertThrows("a.unshift(1);", RangeError); 38 assertThrows("a.splice(1,1,7,7,7,7,7);", RangeError);
|
D | regress-581.js | 35 assertThrows(function() { a.concat(a); }, RangeError); 47 assertThrows(function() { c.concat(c, a); }, RangeError);
|
D | regress-353004.js | 23 }, RangeError); 40 }, RangeError);
|
/external/v8/test/mjsunit/harmony/ |
D | proxies-prototype-handler-stackoverflow.js | 14 try { return p.__proto__; } catch(e) { assertInstanceof(e, RangeError); } 21 try { p.__proto__ = p; } catch(e) { assertInstanceof(e, RangeError); } 30 } catch(e) { assertInstanceof(e, RangeError); } 37 try { p.foo = 1; } catch(e) { assertInstanceof(e, RangeError); } 44 try { return p.foo; } catch(e) { assertInstanceof(e, RangeError); } 51 try { for (var x in p) {} } catch(e) { assertInstanceof(e, RangeError); } 60 } catch(e) { assertInstanceof(e, RangeError); } 69 } catch(e) { assertInstanceof(e, RangeError); } 78 } catch(e) { assertInstanceof(e, RangeError); } 85 try { delete p.foo; } catch(e) { assertInstanceof(e, RangeError); } [all …]
|
D | proxies-prototype-target-stackoverflow.js | 13 try { return p.__proto__; } catch(e) { assertInstanceof(e, RangeError); } 19 try { p.__proto__ = p; } catch(e) { assertInstanceof(e, RangeError); } 27 } catch(e) { assertInstanceof(e, RangeError); } 33 try { p.foo = 1; } catch(e) { assertInstanceof(e, RangeError); } 39 try { return p.foo; } catch(e) { assertInstanceof(e, RangeError); } 45 try { for (var x in p) {} } catch(e) { assertInstanceof(e, RangeError); }
|
D | sharedarraybuffer.js | 47 assertThrows(function() { new SharedArrayBuffer(-10); }, RangeError); 48 assertThrows(function() { new SharedArrayBuffer(-2.567); }, RangeError); 178 assertThrows(function () { new constr(sab, 257*elementSize); }, RangeError); 181 RangeError); 185 RangeError); 190 assertThrows(function() { new constr(unalignedArrayBuffer)}, RangeError); 192 RangeError);
|
/external/v8/test/mjsunit/ |
D | string-normalize.js | 9 assertThrows(function() { ''.normalize('invalid'); }, RangeError); 11 assertThrows(function() { ''.normalize('invalid'); }, RangeError); 14 assertThrows(function() { ''.normalize(null) }, RangeError); 15 assertThrows(function() { ''.normalize(true) }, RangeError); 16 assertThrows(function() { ''.normalize(false) }, RangeError); 17 assertThrows(function() { ''.normalize(42) }, RangeError); 18 assertThrows(function() { ''.normalize({}) }, RangeError); 19 assertThrows(function() { ''.normalize([]) }, RangeError);
|
D | messages.js | 393 }, "Invalid array length", RangeError); 398 }, "Invalid array buffer length", RangeError); 403 }, "Invalid array length", RangeError); 408 }, "Invalid code point -1", RangeError); 413 }, "Invalid count value", RangeError); 418 }, "Invalid typed array length", RangeError); 423 }, "The normalization form should be one of NFC, NFD, NFKC, NFKD.", RangeError); 428 }, "toFixed() digits argument must be between 0 and 20", RangeError); 432 }, "toExponential() argument must be between 0 and 20", RangeError); 438 }, "Maximum call stack size exceeded", RangeError); [all …]
|
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 | error-constructors.js | 77 var errors = [SyntaxError, ReferenceError, TypeError, RangeError, URIError]; 95 var errors = [Error, RangeError, EvalError, URIError,
|
/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 …
|
/external/v8/test/intl/string/ |
D | normalization.js | 69 assertThrows('"".normalize(1234)', RangeError); 70 assertThrows('"".normalize("BAD")', RangeError);
|