/external/v8/test/mjsunit/ |
D | messages.js | 34 "and not a function", TypeError); 41 }, "Cannot modify frozen array elements", TypeError); 48 }, "Cannot add/remove sealed array elements", TypeError); 53 }, "1 is not a function", TypeError); 58 }, "Object.defineProperty called on non-object", TypeError); 62 }, "CreateListFromArrayLike called on non-object", TypeError); 66 }, "CreateListFromArrayLike called on non-object", TypeError); 70 }, "CreateListFromArrayLike called on non-object", TypeError); 75 }, "Array.prototype.shift called on null or undefined", TypeError); 80 }, "Cannot freeze array buffer views with elements", TypeError); [all …]
|
D | strict-mode.js | 475 assertThrows(function() { delete_property(object); }, TypeError); 477 assertThrows(function() { delete_element(object, "1"); }, TypeError); 478 assertThrows(function() { delete_element(object, 1); }, TypeError); 480 assertThrows(function() { delete_element(object, "7"); }, TypeError); 481 assertThrows(function() { delete_element(object, 7); }, TypeError); 483 assertThrows(function() { delete_element(object, "3.14"); }, TypeError); 484 assertThrows(function() { delete_element(object, 3.14); }, TypeError); 758 TypeError); 769 TypeError); 782 assertThrows(function() { strict(frozen); }, TypeError); [all …]
|
/external/v8/test/mjsunit/strong/ |
D | functions.js | 29 assertThrows(function(){ f.arguments = 0 }, TypeError); 30 assertThrows(function(){ g.arguments = 0 }, TypeError); 36 assertThrows(function(){ f.caller = 0 }, TypeError); 37 assertThrows(function(){ g.caller = 0 }, TypeError); 43 assertThrows(function(){ f.callee = 0 }, TypeError); 44 assertThrows(function(){ g.callee = 0 }, TypeError); 57 assertThrows(function(){ f = 0 }, TypeError); 58 assertThrows(function(){ g = 0 }, TypeError); 59 assertThrows(function(){ f2 = 0 }, TypeError); 60 assertThrows(function(){ g2 = 0 }, TypeError); [all …]
|
D | implicit-conversions-count.js | 131 assertThrows(function(){func(value)}, TypeError); 132 assertThrows(function(){func(value)}, TypeError); 133 assertThrows(function(){func(value)}, TypeError); 135 assertThrows(function(){func(value)}, TypeError); 146 assertThrows(function(){func(value)}, TypeError); 147 assertThrows(function(){func(value)}, TypeError); 148 assertThrows(function(){func(value)}, TypeError); 150 assertThrows(function(){func(value)}, TypeError); 161 assertThrows(function(){func(value)}, TypeError); 162 assertThrows(function(){func(value)}, TypeError); [all …]
|
/external/v8/test/mjsunit/es6/ |
D | array-findindex.js | 280 TypeError); 282 TypeError); 284 TypeError); 286 TypeError); 288 assertThrows('[].findIndex(null)', TypeError); 289 assertThrows('[].findIndex(undefined)', TypeError); 290 assertThrows('[].findIndex(0)', TypeError); 291 assertThrows('[].findIndex(true)', TypeError); 292 assertThrows('[].findIndex(false)', TypeError); 293 assertThrows('[].findIndex("")', TypeError); [all …]
|
D | array-find.js | 280 TypeError); 282 TypeError); 284 TypeError); 286 TypeError); 288 assertThrows('[].find(null)', TypeError); 289 assertThrows('[].find(undefined)', TypeError); 290 assertThrows('[].find(0)', TypeError); 291 assertThrows('[].find(true)', TypeError); 292 assertThrows('[].find(false)', TypeError); 293 assertThrows('[].find("")', TypeError); [all …]
|
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 …]
|
D | block-const-assign.js | 36 function(use) { return "const c = 1; " + use + ";" }, TypeError, 37 function(use) { return "const x = 0, c = 1; " + use + ";" }, TypeError, 38 function(use) { return "const c = 1, x = (" + use + ");" }, TypeError, 45 function(use) { return "(function c() { " + use + "; })();"; }, TypeError, 51 }, TypeError, 54 }, TypeError, 57 }, TypeError, 60 }, TypeError, 63 }, TypeError, 83 }, TypeError, [all …]
|
D | typedarray-findindex.js | 153 TypeError); 155 TypeError); 157 TypeError); 159 TypeError); 161 TypeError); 163 TypeError); 165 TypeError); 167 assertThrows('new constructor([]).findIndex(null)', TypeError); 168 assertThrows('new constructor([]).findIndex(undefined)', TypeError); 169 assertThrows('new constructor([]).findIndex(0)', TypeError); [all …]
|
D | typedarray-find.js | 153 TypeError); 155 TypeError); 157 TypeError); 159 TypeError); 161 TypeError); 163 TypeError); 165 TypeError); 167 assertThrows('new constructor([]).find(null)', TypeError); 168 assertThrows('new constructor([]).find(undefined)', TypeError); 169 assertThrows('new constructor([]).find(0)', TypeError); [all …]
|
D | classes-derived-return-type.js | 19 }, TypeError); 22 }, TypeError); 25 }, TypeError); 28 }, TypeError); 31 }, TypeError); 49 }, TypeError); 52 }, TypeError); 55 }, TypeError); 58 }, TypeError); 61 }, TypeError);
|
D | string-includes.js | 57 assertThrows("String.prototype.includes.call(null, 'test')", TypeError); 58 assertThrows("String.prototype.includes.call(null, null)", TypeError); 59 assertThrows("String.prototype.includes.call(undefined, undefined)", TypeError); 61 assertThrows("String.prototype.includes.apply(null, ['test'])", TypeError); 62 assertThrows("String.prototype.includes.apply(null, [null])", TypeError); 63 assertThrows("String.prototype.includes.apply(undefined, [undefined])", TypeError); 150 assertThrows("'foo[a-z]+(bar)?'.includes(/[a-z]+/)", TypeError); 151 assertThrows("'foo/[a-z]+/(bar)?'.includes(/[a-z]+/)", TypeError); 153 assertThrows("'foo[a-z]+(bar)?'.includes(/(bar)?/)", TypeError); 154 assertThrows("'foo[a-z]+/(bar)?/'.includes(/(bar)?/)", TypeError); [all …]
|
/external/v8/test/webkit/ |
D | dfg-inline-arguments-use-from-all-the-places-broken-expected.txt | 29 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 30 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 31 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 32 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 33 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 34 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 35 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 36 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 37 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… 38 PASS argsToStr(bar("a" + __i, "b" + __i, "c" + __i)) threw exception TypeError: Cannot read propert… [all …]
|
D | dfg-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt | 29 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 31 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 33 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 35 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 37 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 39 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 41 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 43 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 45 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 47 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. [all …]
|
D | dfg-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt | 29 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 31 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 33 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 35 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 37 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 39 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 41 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 43 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 45 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 47 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. [all …]
|
D | dfg-peephole-compare-final-object-to-final-object-or-other-when-proven-final-object-expected.txt | 29 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 31 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 33 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 35 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 37 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 39 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 41 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 43 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 45 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 47 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. [all …]
|
D | dfg-peephole-compare-final-object-to-final-object-or-other-when-both-proven-final-object-expected.txt | 29 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 31 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 33 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 35 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 37 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 39 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 41 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 43 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 45 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. 47 PASS foo({f:42}, null) threw exception TypeError: Cannot read property 'f' of null. [all …]
|
/external/v8/test/mjsunit/harmony/ |
D | block-const-assign-sloppy.js | 36 function(use) { return "const c = 1; " + use + ";" }, TypeError, 37 function(use) { return "const x = 0, c = 1; " + use + ";" }, TypeError, 38 function(use) { return "const c = 1, x = (" + use + ");" }, TypeError, 45 function(use) { return "(function c() { " + use + "; })();"; }, TypeError, 51 }, TypeError, 54 }, TypeError, 57 }, TypeError, 60 }, TypeError, 63 }, TypeError, 83 }, TypeError, [all …]
|
D | reflect-apply.js | 16 }, TypeError); 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); 126 assertThrows(function() { Reflect.apply(/123/); }, TypeError); 127 assertThrows(function() { Reflect.apply(NaN); }, TypeError); 128 assertThrows(function() { Reflect.apply({}); }, TypeError); 129 assertThrows(function() { Reflect.apply([]); }, TypeError); [all …]
|
D | reflect-construct.js | 16 }, TypeError); 187 assertThrows(function() { Reflect.construct(void 0, []); }, TypeError); 188 assertThrows(function() { Reflect.construct(null, []); }, TypeError); 189 assertThrows(function() { Reflect.construct(123, []); }, TypeError); 190 assertThrows(function() { Reflect.construct("str", []); }, TypeError); 191 assertThrows(function() { Reflect.construct(Symbol("x"), []); }, TypeError); 192 assertThrows(function() { Reflect.construct(/123/, []); }, TypeError); 193 assertThrows(function() { Reflect.construct(NaN, []); }, TypeError); 194 assertThrows(function() { Reflect.construct({}, []); }, TypeError); 195 assertThrows(function() { Reflect.construct([], []); }, TypeError); [all …]
|
D | reflect.js | 79 assertThrows(function() { Reflect.get(); }, TypeError); 80 assertThrows(function() { Reflect.get(42, "bla"); }, TypeError); 81 assertThrows(function() { Reflect.get(null, "bla"); }, TypeError); 147 assertThrows(function() { Reflect.set(); }, TypeError); 148 assertThrows(function() { Reflect.set(42, "bla"); }, TypeError); 149 assertThrows(function() { Reflect.set(null, "bla"); }, TypeError); 289 assertThrows(function() { Reflect.has(); }, TypeError); 290 assertThrows(function() { Reflect.has(42, "bla"); }, TypeError); 291 assertThrows(function() { Reflect.has(null, "bla"); }, TypeError); 336 assertThrows(function() { Reflect.defineProperty(); }, TypeError); [all …]
|
D | proxies-ownkeys.js | 38 assertThrows("Reflect.ownKeys(proxy)", TypeError); 40 assertThrows("Reflect.ownKeys(proxy)", TypeError); 42 assertThrows("Reflect.ownKeys(proxy)", TypeError); 44 assertThrows("Reflect.ownKeys(proxy)", TypeError); 61 assertThrows("Reflect.ownKeys(proxy)", TypeError); 63 assertThrows("Reflect.ownKeys(proxy)", TypeError); 65 assertThrows("Reflect.ownKeys(proxy)", TypeError); 67 assertThrows("Reflect.ownKeys(proxy)", TypeError); 72 assertThrows("Reflect.ownKeys(proxy)", TypeError); 78 assertThrows("Reflect.ownKeys(proxy)", TypeError); [all …]
|
D | dataview-accessors.js | 400 assertThrows(function() { f(); }, TypeError); 402 assertThrows(function() { f.call({}, 0, 0); }, TypeError); 403 assertThrows(function() { f.call(a); }, TypeError); 405 assertThrows(function() { f.call(a, 1); }, TypeError); 433 assertThrows(function() { a.getUint8(); }, TypeError); 434 assertThrows(function() { a.getInt8(); }, TypeError); 435 assertThrows(function() { a.getUint16(); }, TypeError); 436 assertThrows(function() { a.getInt16(); }, TypeError); 437 assertThrows(function() { a.getUint32(); }, TypeError); 438 assertThrows(function() { a.getInt32(); }, TypeError); [all …]
|
/external/v8/test/mjsunit/es6/regress/ |
D | regress-474783.js | 14 assertThrows(function() { Subclass(); }, TypeError); 15 assertThrows(function() { Subclass(1); }, TypeError); 16 assertThrows(function() { Subclass(1, 2); }, TypeError); 17 assertThrows(function() { Subclass(1, 2, 3); }, TypeError); 18 assertThrows(function() { Subclass(1, 2, 3, 4); }, TypeError); 20 assertThrows(function() { Subclass.call(); }, TypeError); 21 assertThrows(function() { Subclass.call({}); }, TypeError); 22 assertThrows(function() { Subclass.call({}, 1); }, TypeError); 23 assertThrows(function() { Subclass.call({}, 1, 2); }, TypeError); 24 assertThrows(function() { Subclass.call({}, 1, 2, 3, 4); }, TypeError);
|
/external/v8/test/webkit/fast/js/ |
D | array-prototype-properties-expected.txt | 29 PASS Array.prototype.toString.call(undefined) threw exception TypeError: Cannot convert undefined o… 30 PASS Array.prototype.toLocaleString.call(undefined) threw exception TypeError: Cannot convert undef… 31 PASS Array.prototype.concat.call(undefined, []) threw exception TypeError: Array.prototype.concat c… 32 PASS Array.prototype.join.call(undefined, []) threw exception TypeError: Array.prototype.join calle… 33 PASS Array.prototype.pop.call(undefined) threw exception TypeError: Array.prototype.pop called on n… 34 PASS Array.prototype.push.call(undefined, {}) threw exception TypeError: Array.prototype.push calle… 35 PASS Array.prototype.reverse.call(undefined) threw exception TypeError: Array.prototype.reverse cal… 36 PASS Array.prototype.shift.call(undefined) threw exception TypeError: Array.prototype.shift called … 37 PASS Array.prototype.slice.call(undefined, 0, 1) threw exception TypeError: Array.prototype.slice c… 38 PASS Array.prototype.sort.call(undefined) threw exception TypeError: Array.prototype.sort called on… [all …]
|