/external/v8/test/mjsunit/wasm/ |
verify-function-basic-errors.js | 9 assertThrows(function() { _WASMEXP_.verifyFunction(); }) 10 assertThrows(function() { _WASMEXP_.verifyFunction(0); }) 11 assertThrows(function() { _WASMEXP_.verifyFunction("s"); }) 12 assertThrows(function() { _WASMEXP_.verifyFunction(undefined); }) 13 assertThrows(function() { _WASMEXP_.verifyFunction(1.1); }) 14 assertThrows(function() { _WASMEXP_.verifyFunction(1/0); }) 15 assertThrows(function() { _WASMEXP_.verifyFunction(null); }) 16 assertThrows(function() { _WASMEXP_.verifyFunction(new Foo()); }) 17 assertThrows(function() { _WASMEXP_.verifyFunction(new ArrayBuffer(0)); }) 18 assertThrows(function() { _WASMEXP_.verifyFunction(new ArrayBuffer(140000)); } [all...] |
verify-module-basic-errors.js | 9 assertThrows(function() { _WASMEXP_.verifyModule(); }) 10 assertThrows(function() { _WASMEXP_.verifyModule(0); }) 11 assertThrows(function() { _WASMEXP_.verifyModule("s"); }) 12 assertThrows(function() { _WASMEXP_.verifyModule(undefined); }) 13 assertThrows(function() { _WASMEXP_.verifyModule(1.1); }) 14 assertThrows(function() { _WASMEXP_.verifyModule(1/0); }) 15 assertThrows(function() { _WASMEXP_.verifyModule(null); }) 16 assertThrows(function() { _WASMEXP_.verifyModule(new Foo()); }) 17 assertThrows(function() { _WASMEXP_.verifyModule(new ArrayBuffer(0)); }) 18 assertThrows(function() { _WASMEXP_.verifyModule(new ArrayBuffer(7)); } [all...] |
/external/v8/test/mjsunit/strong/ |
functions.js | 13 assertThrows("'use strong'; arguments", SyntaxError); 14 assertThrows("'use strong'; function f() { arguments }", SyntaxError); 15 assertThrows("'use strong'; function* g() { arguments }", SyntaxError); 16 assertThrows("'use strong'; let f = function() { arguments }", SyntaxError); 17 assertThrows("'use strong'; let g = function*() { arguments }", SyntaxError); 18 assertThrows("'use strong'; let f = () => arguments", SyntaxError); 20 assertThrows("'use strong'; let arguments", SyntaxError); 21 assertThrows("'use strong'; function f(arguments) {}", SyntaxError); 22 assertThrows("'use strong'; function* g(arguments) {}", SyntaxError); 23 assertThrows("'use strong'; let f = (arguments) => {}", SyntaxError) [all...] |
class-extend-null.js | 82 assertThrows(nullLiteral, TypeError); 84 assertThrows(nullLiteral, TypeError); 86 assertThrows(nullVariable, TypeError); 88 assertThrows(nullVariable, TypeError); 90 assertThrows(nullLiteralClassExpr, TypeError); 92 assertThrows(nullLiteralClassExpr, TypeError); 94 assertThrows(nullVariableClassExpr, TypeError); 96 assertThrows(nullVariableClassExpr, TypeError);
|
load-builtins.js | 26 assertThrows(function(){"use strong"; builtin.foo}, TypeError); 27 assertThrows(function(){"use strong"; builtin[0]}, TypeError); 28 assertThrows(function(){"use strong"; builtin[10000]}, TypeError); 31 assertThrows(function(){"use strong"; builtin.bar}); 32 assertThrows(function(){"use strong"; builtin[0]}, TypeError); 33 assertThrows(function(){"use strong"; builtin[10000]}, TypeError); 36 assertThrows(function(){"use strong"; builtin.bar}); 38 assertThrows(function(){"use strong"; builtin[10000]}, TypeError);
|
undefined.js | 26 assertThrows(context[0] + code + context[1] + "; throw new TypeError();", 30 assertThrows(context[0] + code + context[1], SyntaxError); 46 assertThrows("function undefined() {'use strong';}", SyntaxError); 50 assertThrows("function* undefined() {'use strong';}", SyntaxError); 54 assertThrows("(function undefined() {'use strong';});", SyntaxError); 56 assertThrows("{foo: (function undefined(){'use strong';})};", SyntaxError); 60 assertThrows("(function* undefined() {'use strong';})", SyntaxError); 62 assertThrows("{foo: (function* undefined(){'use strong';})};", SyntaxError); 67 assertThrows("function foo(a, b, undefined, c, d) {'use strong';}", 72 assertThrows("function* foo(a, b, undefined, c, d) {'use strong';}" [all...] |
load-proxy.js | 72 assertThrows(function(){baseObj.foo}, TypeError); 73 assertThrows(function(){baseObj[1]}, TypeError); 74 assertThrows(function(){childObjAccessor1.foo}, TypeError); 75 assertThrows(function(){childObjAccessor1[1]}, TypeError); 76 assertThrows(function(){childObjAccessor2.foo}, TypeError); 77 assertThrows(function(){childObjAccessor2[1]}, TypeError); 86 // assertThrows(function(){proxy1.foo}, TypeError); 87 // assertThrows(function(){proxy1[1]}, TypeError); 88 // assertThrows(function(){childObj1.foo}, TypeError); 89 // assertThrows(function(){childObj1[1]}, TypeError) [all...] |
/external/v8/test/mjsunit/regress/ |
regress-builtinbust-1.js | 10 assertThrows(function() { a.pop(); }, TypeError); 11 assertThrows(function() { a.push(5); }, TypeError); 12 assertThrows(function() { a.shift(); }, TypeError); 13 assertThrows(function() { a.unshift(5); }, TypeError); 14 assertThrows(function() { a.splice(0, 1); }, TypeError);
|
regress-219.js | 60 assertThrows("/a/ii"); 62 assertThrows("/a/gii"); 64 assertThrows("/a/igi"); 66 assertThrows("/a/iig"); 68 assertThrows("/a/gimi"); 70 assertThrows("/a/giim"); 72 assertThrows("/a/igim"); 74 assertThrows(function(){ return RegExp("a", "ii"); }) 76 assertThrows(function(){ return RegExp("a", "gii"); }) 78 assertThrows(function(){ return RegExp("a", "igi"); } [all...] |
regress-500980.js | 6 assertThrows(function() { while (true) a += a; }, RangeError); 7 assertThrows(function() { a in a; }, TypeError);
|
regress-469605.js | 27 assertThrows(function() { f(0); }); 28 assertThrows(function() { f(1); }); 42 assertThrows(function() { g(0); }); 43 assertThrows(function() { g(1); });
|
regress-inline-arrow-as-construct.js | 16 assertThrows(f); 17 assertThrows(f); 19 assertThrows(f);
|
regress-inline-strong-as-construct.js | 18 assertThrows(f); 19 assertThrows(f); 21 assertThrows(f);
|
regress-4388.js | 18 assertThrows("test_hole_check_for_let(1)", ReferenceError); 20 assertThrows("test_hole_check_for_let(1)", ReferenceError); 32 assertThrows("test_hole_check_for_const(0)", TypeError); 33 assertThrows("test_hole_check_for_const(1)", ReferenceError); 35 assertThrows("test_hole_check_for_const(1)", ReferenceError);
|
regress-3926.js | 26 assertThrows(function() {f(2)}, ReferenceError); 27 assertThrows(function() {f(3)}, ReferenceError); 30 assertThrows(function() { 60 assertThrows(g(2), ReferenceError); 61 assertThrows(g(3), ReferenceError); 62 assertThrows(function () {g(4)}, ReferenceError); 63 assertThrows(function () {g(5)}, ReferenceError); 84 assertThrows(h(2), ReferenceError); 85 assertThrows(h(3), ReferenceError); 86 assertThrows(function () {h(4)}, ReferenceError) [all...] |
/external/v8/test/mjsunit/ |
compare-known-objects-tostringtag.js | 25 assertThrows(function() {le(a, a)}); 26 assertThrows(function() {le(a, b)}); 27 assertThrows(function() {le(b, a)}); 29 assertThrows(function() {lt(a, a)}); 30 assertThrows(function() {lt(a, b)}); 31 assertThrows(function() {lt(b, a)}); 33 assertThrows(function() {ge(a, a)}); 34 assertThrows(function() {ge(a, b)}); 35 assertThrows(function() {ge(b, a)}); 37 assertThrows(function() {gt(a, a)}) [all...] |
primitive-keyed-access.js | 23 assertThrows(function(){"use strict"; var o = "123"; o[1] = 10; }); 24 assertThrows(function(){"use strict"; var o = ""; o[1] = 10; }); 25 assertThrows(function(){"use strict"; var o = 1; o[1] = 10; }); 27 assertThrows(function() { 33 assertThrows(function() { 39 assertThrows(function() { 45 assertThrows(function() {
|
regress-ntl.js | 23 assertThrows(f); 25 assertThrows(f); 39 assertThrows(bug2); 41 assertThrows(bug2);
|
/external/v8/test/mjsunit/es6/ |
classes-derived-return-type.js | 17 assertThrows(function() { 20 assertThrows(function() { 23 assertThrows(function() { 26 assertThrows(function() { 29 assertThrows(function() { 47 assertThrows(function() { 50 assertThrows(function() { 53 assertThrows(function() { 56 assertThrows(function() { 59 assertThrows(function() [all...] |
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...] |
generators-poisoned-properties.js | 8 assertThrows(function() { return generator.arguments; }, TypeError); 9 assertThrows(function() { return generator.arguments = {}; }, TypeError); 12 assertThrows(function() { return generator.caller; }, TypeError); 13 assertThrows(function() { return generator.caller = {}; }, TypeError); 20 assertThrows(function() { return generator.arguments; }, TypeError); 21 assertThrows(function() { return generator.arguments = {}; }, TypeError); 24 assertThrows(function() { return generator.caller; }, TypeError); 25 assertThrows(function() { return generator.caller = {}; }, TypeError);
|
string-html.js | 13 assertThrows(function() { 16 assertThrows(function() { 24 assertThrows(function() { 27 assertThrows(function() { 35 assertThrows(function() { 38 assertThrows(function() { 46 assertThrows(function() { 49 assertThrows(function() { 57 assertThrows(function() { 60 assertThrows(function() [all...] |
/external/v8/test/mjsunit/harmony/ |
reflect-apply.js | 14 assertThrows(function() { 89 assertThrows(function() { 93 assertThrows(function() { 109 assertThrows(function() { 113 assertThrows(function() { 121 assertThrows(function() { Reflect.apply(void 0); }, TypeError); 122 assertThrows(function() { Reflect.apply(null); }, TypeError); 123 assertThrows(function() { Reflect.apply(123); }, TypeError); 124 assertThrows(function() { Reflect.apply("str"); }, TypeError); 125 assertThrows(function() { Reflect.apply(Symbol("x")); }, TypeError) [all...] |
regexp-flags.js | 28 assertThrows(function() { testGenericFlags(); }, TypeError); 29 assertThrows(function() { testGenericFlags(undefined); }, TypeError); 30 assertThrows(function() { testGenericFlags(null); }, TypeError); 31 assertThrows(function() { testGenericFlags(true); }, TypeError); 32 assertThrows(function() { testGenericFlags(false); }, TypeError); 33 assertThrows(function() { testGenericFlags(''); }, TypeError); 34 assertThrows(function() { testGenericFlags(42); }, TypeError);
|
proxies-ownkeys.js | 32 assertThrows("Reflect.ownKeys(proxy)"); 38 assertThrows("Reflect.ownKeys(proxy)", TypeError); 40 assertThrows("Reflect.ownKeys(proxy)", TypeError); 42 assertThrows("Reflect.ownKeys(proxy)", TypeError); 44 assertThrows("Reflect.ownKeys(proxy)", TypeError); 57 assertThrows("Reflect.ownKeys(proxy)", RangeError); 61 assertThrows("Reflect.ownKeys(proxy)", TypeError); 63 assertThrows("Reflect.ownKeys(proxy)", TypeError); 65 assertThrows("Reflect.ownKeys(proxy)", TypeError); 67 assertThrows("Reflect.ownKeys(proxy)", TypeError) [all...] |