/external/chromium_org/v8/test/mjsunit/es6/regress/ |
H A D | regress-2691.js | 28 // Check that yield* on non-objects raises a TypeError. 30 assertThrows('(function*() { yield* 10 })().next()', TypeError); 31 assertThrows('(function*() { yield* {} })().next()', TypeError); 32 assertThrows('(function*() { yield* undefined })().next()', TypeError);
|
/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-2441.js | 30 assertThrows("Object.defineProperty(o, 'foobarloo', {value:{}});", TypeError); 31 assertThrows("Object.defineProperty(o, '__proto__', {value:{}});", TypeError);
|
H A D | regress-299979.js | 32 assertThrows(function() { list.unshift(4); }, TypeError); 33 assertThrows(function() { list.shift(); }, TypeError);
|
H A D | regress-734862.js | 33 assertTrue(catcher(null, 'foo') instanceof TypeError); 34 assertTrue(catcher(void 0, 'foo') instanceof TypeError); 35 assertTrue(catcher(null, 123) instanceof TypeError); 36 assertTrue(catcher(void 0, 123) instanceof TypeError);
|
H A D | 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);
|
H A D | regress-3029.js | 42 assertThrows("g()", TypeError); 43 assertThrows("g()", TypeError); 45 assertThrows("g()", TypeError);
|
H A D | regress-2711.js | 30 assertThrows(function() { a.push(2); }, TypeError); 32 assertThrows(function() { a.push(2); }, TypeError);
|
H A D | regress-95920.js | 35 }, TypeError) 42 }, TypeError) 49 }, TypeError)
|
H A D | regress-crbug-325225.js | 36 assertThrows(do1, TypeError); 46 assertThrows(do2, TypeError);
|
H A D | regress-1182832.js | 36 assertTrue(e instanceof TypeError);
|
H A D | regress-1130.js | 38 assertTrue(e instanceof TypeError);
|
H A D | regress-1213575.js | 37 assertTrue(e instanceof TypeError);
|
H A D | regress-is-contextual.js | 41 assertThrows(function () { foo(); }, TypeError);
|
H A D | regress-crbug-18639.js | 37 assertInstanceof(e, TypeError);
|
H A D | regress-386034.js | 19 assertThrows(function() { f('----'); }, TypeError);
|
H A D | regress-667061.js | 33 assertTrue(o instanceof TypeError); 48 assertTrue(o instanceof TypeError); 68 assertTrue(o instanceof TypeError); 87 assertTrue(o instanceof TypeError);
|
H A D | regress-builtinbust-5.js | 11 assertThrows("a.unshift()", TypeError);
|
/external/chromium_org/v8/test/mjsunit/ |
H A D | global-const-var-conflicts.js | 34 try { eval("var a"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 36 try { eval("var a = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 40 try { eval("var b"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 42 try { eval("var b = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 47 try { eval("const c"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 50 try { eval("const c = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 55 try { eval("const d"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 58 try { eval("const d = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
|
H A D | throw-exception-for-null-access.js | 28 // Must throw TypeError when accessing properties of null. 35 assertTrue(e instanceof TypeError);
|
H A D | unusual-constructor.js | 32 assertInstanceof(e, TypeError);
|
H A D | call-non-function-call.js | 36 assertTrue(e instanceof TypeError);
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
H A D | array-find.js | 244 TypeError); 246 TypeError); 248 TypeError); 250 TypeError); 252 assertThrows('[].find(null)', TypeError); 253 assertThrows('[].find(undefined)', TypeError); 254 assertThrows('[].find(0)', TypeError); 255 assertThrows('[].find(true)', TypeError); 256 assertThrows('[].find(false)', TypeError); 257 assertThrows('[].find("")', TypeError); [all...] |
H A D | array-findindex.js | 244 TypeError); 246 TypeError); 248 TypeError); 250 TypeError); 252 assertThrows('[].findIndex(null)', TypeError); 253 assertThrows('[].findIndex(undefined)', TypeError); 254 assertThrows('[].findIndex(0)', TypeError); 255 assertThrows('[].findIndex(true)', TypeError); 256 assertThrows('[].findIndex(false)', TypeError); 257 assertThrows('[].findIndex("")', TypeError); [all...] |
H A D | string-contains.js | 59 assertThrows("String.prototype.contains.call(null, 'test')", TypeError); 60 assertThrows("String.prototype.contains.call(null, null)", TypeError); 61 assertThrows("String.prototype.contains.call(undefined, undefined)", TypeError); 63 assertThrows("String.prototype.contains.apply(null, ['test'])", TypeError); 64 assertThrows("String.prototype.contains.apply(null, [null])", TypeError); 65 assertThrows("String.prototype.contains.apply(undefined, [undefined])", TypeError); 152 assertThrows("'foo[a-z]+(bar)?'.contains(/[a-z]+/)", TypeError); 153 assertThrows("'foo/[a-z]+/(bar)?'.contains(/[a-z]+/)", TypeError); 155 assertThrows("'foo[a-z]+(bar)?'.contains(/(bar)?/)", TypeError); 156 assertThrows("'foo[a-z]+/(bar)?/'.contains(/(bar)?/)", TypeError); [all...] |
/external/chromium_org/v8/test/mjsunit/es6/ |
H A D | string-html.js | 15 }, TypeError); 18 }, TypeError); 26 }, TypeError); 29 }, TypeError); 37 }, TypeError); 40 }, TypeError); 48 }, TypeError); 51 }, TypeError); 59 }, TypeError); 62 }, TypeError); [all...] |