/external/v8/test/mjsunit/es6/regress/ |
regress-2322.js | 30 assertThrows("'use strict'; for (let x in x);", ReferenceError); 34 assertThrows(function() { pppp = true }, ReferenceError);
|
/external/v8/test/mjsunit/harmony/ |
proxies-delete-property.js | 28 assertThrows(() => myDelete(proxy, p), TypeError); 76 assertThrows(() => delete proxy[0], TypeError); 77 assertThrows(() => Reflect.deleteProperty(proxy, 0), TypeError); 100 assertThrows(() => myDelete(proxy, p), TypeError); 129 assertThrows(() => myDelete(proxy, p), TypeError); 155 assertThrows(() => myDelete(proxy, p), TypeError); 165 assertThrows(() => myDelete(proxy, p), TypeError); 175 assertThrows(() => myDelete(proxy, p), TypeError);
|
proxies-has-own-property.js | 37 assertThrows(function(){ proxy.hasOwnProperty('a') }, Error); 39 assertThrows(function(){ proxy.hasOwnProperty('b') }, Error);
|
to-string.js | 28 assertThrows(function() { %ToString(Symbol.toPrimitive) }, TypeError); 29 assertThrows(function() { %_ToString(Symbol.toPrimitive) }, TypeError);
|
sharedarraybuffer.js | 47 assertThrows(function() { new SharedArrayBuffer(-10); }, RangeError); 48 assertThrows(function() { new SharedArrayBuffer(-2.567); }, RangeError); 51 assertThrows(function() { 68 assertThrows(function() { "use strict"; sab.byteLength = 42; }, TypeError); 178 assertThrows(function () { new constr(sab, 257*elementSize); }, RangeError); 179 assertThrows( 184 assertThrows(function() { new constr(sab, 128*elementSize - 1, 10); }, 190 assertThrows(function() { new constr(unalignedArrayBuffer)}, RangeError); 191 assertThrows(function() { new constr(unalignedArrayBuffer, 5*elementSize)}, 316 assertThrows(function() {d.get.call(o);}, TypeError) [all...] |
proxies-function.js | 272 // assertThrows(function(){ f(11) }, "myexn") 273 // assertThrows(function(){ ({x: f}).x(11) }, "myexn") 274 // assertThrows(function(){ ({x: f})["x"](11) }, "myexn") 275 // assertThrows(function(){ Function.prototype.call.call(f, {}, 2) }, "myexn") 276 // assertThrows(function(){ Function.prototype.apply.call(f, {}, [1]) }, "myexn") 277 // assertThrows(function(){ %Call(f, {}) }, "myexn") 278 // assertThrows(function(){ %Call(f, {}, 1, 2) }, "myexn") 279 // assertThrows(function(){ %Apply({}, f, [], 3, 0) }, "myexn") 280 // assertThrows(function(){ %Apply({}, f, [3, 4], 0, 1) }, "myexn") 281 // assertThrows(function(){ %_Call(f, {}) }, "myexn" [all...] |
/external/v8/test/mjsunit/ |
number-string-index-call.js | 30 assertThrows("callbacks['1']()"); 31 assertThrows("callbacks['2']('abcdefg')");
|
json-stringify-recursive.js | 42 assertThrows(function() { rec(1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4) }, 49 assertThrows(function() { JSON.stringify(deepArray); }, RangeError); 54 assertThrows(function() { JSON.stringify(deepObject); }, RangeError);
|
/external/v8/test/mjsunit/regress/ |
regress-2441.js | 30 assertThrows("Object.defineProperty(o, 'foobarloo', {value:{}});", TypeError); 31 assertThrows("Object.defineProperty(o, '__proto__', {value:{}});", TypeError);
|
regress-299979.js | 32 assertThrows(function() { list.unshift(4); }, TypeError); 33 assertThrows(function() { list.shift(); }, TypeError);
|
regress-crbug-516775.js | 38 assertThrows(function() { [].concat(a4); }); 52 assertThrows(function() { [].concat(a6); });
|
/external/v8/test/mjsunit/strong/ |
load-element-mutate-backing-store.js | 128 assertThrows(function(){func(object)}, TypeError); 129 assertThrows(function(){func(object)}, TypeError); 130 assertThrows(function(){func(object)}, TypeError); 132 assertThrows(function(){func(object)}, TypeError); 134 assertThrows(function(){func(object)}, TypeError);
|
mutually-recursive-classes.js | 17 assertThrows("'use strong'; " + prologue_dead + code + epilogue_dead, 26 assertThrows("'use strong'; " + prologue_live + code + epilogue_live, 28 assertThrows("'use strict'; " + prologue_live + code + epilogue_live, 34 assertThrows("'use strong'; " + prologue_dead + code + epilogue_dead, 38 assertThrows("'use strong'; " + prologue_live + code + epilogue_live,
|
/external/v8/test/mjsunit/es6/ |
rest-params.js | 139 assertThrows(function(...rest) { return arguments.caller; }, TypeError); 140 assertThrows(function(...rest) { return arguments.callee; }, TypeError); 143 // assertThrows(function(...rest) { arguments.caller = 1; }, TypeError); 144 // assertThrows(function(...rest) { arguments.callee = 1; }, TypeError); 206 assertThrows( 208 assertThrows(function(){ eval("(...rest) => {'use strict';}") }, SyntaxError); 209 assertThrows( 212 assertThrows( 214 assertThrows( 216 assertThrows( [all...] |
generators-iteration.js | 90 assertThrows(function () { iter.throw(new Sentinel); }, Sentinel); 459 assertThrows(function() { iter.throw(new Sentinel); }, Sentinel); 466 assertThrows(function() { iter.throw(new Sentinel); }, Sentinel); 487 assertThrows(function() { iter.throw(new Sentinel); }, Sentinel); 497 assertThrows(function() { iter.throw(new Sentinel); }, Sentinel); 528 assertThrows(function() { iter.throw(new Sentinel); }, Sentinel); 535 assertThrows(function() { iter.throw(new Sentinel); }, Sentinel); 544 assertThrows(function() { iter.next(); }, Sentinel); 553 assertThrows(function() { iter.throw(new Sentinel2); }, Sentinel2); 562 assertThrows(function() { iter.throw(new Sentinel); }, Sentinel) [all...] |
array-from.js | 93 assertThrows(function() { Array.from.call(thisArg, null); }, TypeError); 94 assertThrows(function() { Array.from.call(thisArg, undefined); }, TypeError); 95 assertThrows(function() { Array.from.call(thisArg, [], null); }, TypeError); 96 assertThrows(function() { Array.from.call(thisArg, [], "noncallable"); }, 106 assertThrows(function() { Array.from.call(thisArg, nonObjIterator); }, 109 assertThrows(function() { Array.from.call(thisArg, [], null); }, TypeError); 160 assertThrows(function () { Array.from.call(exotic, [1]); }, TypeError);
|
collection-iterator.js | 89 assertThrows(function() { 92 assertThrows(function() { 100 assertThrows(function() { 190 assertThrows(function() { 193 assertThrows(function() { 196 assertThrows(function() { 204 assertThrows(function() {
|
typedarray-fill.js | 34 assertThrows('constructor.prototype.fill.call(null)', TypeError); 35 assertThrows('constructor.prototype.fill.call(undefined)', TypeError); 36 assertThrows('constructor.prototype.fill.call([])', TypeError);
|
typedarray.js | 46 assertThrows(function() { new ArrayBuffer(-10); }, RangeError); 47 assertThrows(function() { new ArrayBuffer(-2.567); }, RangeError); 50 assertThrows(function() { 67 assertThrows(function() { "use strict"; ab.byteLength = 42; }, TypeError); 217 assertThrows(function () { new constr(ab, 257*elementSize); }, RangeError); 218 assertThrows( 223 assertThrows(function() { new constr(ab, 128*elementSize - 1, 10); }, 229 assertThrows(function() { new constr(unalignedArrayBuffer)}, RangeError); 230 assertThrows(function() { new constr(unalignedArrayBuffer, 5*elementSize)}, 372 assertThrows(function() { method.call(o, 0, 100); }, TypeError) [all...] |
object-literals-super.js | 151 assertThrows('super.x', SyntaxError); 152 assertThrows('super.m()', SyntaxError); 156 assertThrows('super.x', SyntaxError); 157 assertThrows('super.m()', SyntaxError);
|
string-codepointat.js | 68 assertThrows(function() { 71 assertThrows(function() { 74 assertThrows(function() { 77 assertThrows(function() {
|
typedarray-set-length.js | 51 assertThrows(function() {
|
typedarray-tostring.js | 64 assertThrows(function() { o1.join() }, TypeError); 65 assertThrows(function() { o1.toString() }, TypeError); 66 assertThrows(function() { o1.toLocaleString() }, TypeError); 71 assertThrows(function() { o1.toLocaleString() }, TypeError);
|
/external/v8/test/intl/overrides/ |
security.js | 41 assertThrows('new Intl.Collator()'); 42 assertThrows('new Intl.NumberFormat()'); 43 assertThrows('new Intl.DateTimeFormat()');
|
/external/v8/test/mjsunit/compiler/ |
try-deopt.js | 55 assertThrows("DeoptFromFinally_ReThrow(new Error)", Error);
|