/external/v8/test/mjsunit/ |
function-without-prototype.js | 39 assertThrows("new " + name + "()"); 41 assertThrows("new " + name + "()");
|
get-prototype-of.js | 33 assertThrows(function() { 38 assertThrows(function() {
|
tail-call-intrinsic.js | 68 assertThrows(function() { tailee4.call(p1, p2); }); 81 assertThrows(function() { tailee5.call(p1, p2); });
|
var.js | 39 assertThrows("var \u2E2F;", SyntaxError); 40 assertThrows("var \\u2E2F;", SyntaxError);
|
object-seal.js | 199 assertThrows(function() { push_call(obj); }, TypeError); 200 assertThrows(function() { pop_call(obj); }, TypeError); 207 assertThrows(function() { obj.push(3); }, TypeError); 208 assertThrows(function() { obj.pop(); }, TypeError); 209 assertThrows(function() { obj.shift(3); }, TypeError); 211 assertThrows(function() { obj.unshift(1); }, TypeError); 212 assertThrows(function() { obj.splice(0, 0, 100, 101, 102); }, TypeError); 239 assertThrows(function() { push_call(obj); }, TypeError); 240 assertThrows(function() { shift_call(obj); }, TypeError); 255 assertThrows(function() { obj.splice(0,0,1); }, TypeError) [all...] |
debug-evaluate-declaration.js | 39 assertThrows(() => y, ReferenceError); // let-declaration does not stick
|
function-length-accessor.js | 35 assertThrows("foo.length()");
|
invalid-source-element.js | 31 assertThrows("eval('function() {}')");
|
json2.js | 108 assertThrows(function() { 121 assertThrows(function() { JSON.stringify(tojson_ex); }); 122 assertThrows(function() { JSON.stringify(tojson_ex, null, 0); }); 190 assertThrows("JSON.parse('{\"somespecialproperty\":100, \"\x19\":10}')");
|
/external/v8/test/mjsunit/harmony/ |
private-symbols.js | 38 assertThrows(function() { "use strict"; proxy[symbol] = 42 }, TypeError); 46 assertThrows(() => Object.defineProperty(proxy, symbol, {}), TypeError);
|
proxies-enumerate.js | 44 assertThrows(()=>{ TestForIn(pair.proxy, ["foo", "bar"]) }, TypeError); 65 assertThrows("for (var k in proxy) {}", TypeError);
|
proxies-keys.js | 36 assertThrows("Object.keys(proxy)", Number);
|
species.js | 20 assertThrows(function() { constructor[Symbol.species] = undefined }, TypeError);
|
/external/v8/test/mjsunit/regress/ |
cross-script-vars.js | 450 assertThrows('DefineVar(153)'); 452 assertThrows('StoreVar(113)'); 453 assertThrows('StoreVar(113)'); 455 assertThrows('StoreVar(42)'); 457 assertThrows('LoadStoreLoop()'); 535 assertThrows('DefineVar(153)'); 544 assertThrows('StoreVar(113)'); 552 assertThrows('LoadStoreLoop()');
|
regress-1122.js | 65 assertThrows("function_with_n_params_and_m_args(66000, 30000)"); 66 assertThrows("function_with_n_params_and_m_args(30000, 66000)");
|
regress-parse-use-strict.js | 35 assertThrows('function f() { "use sanity";' + strict + '}'); 36 assertThrows('function f() { "use sanity";' + strict + filler + '}');
|
regress-1309.js | 30 assertThrows("o.__proto__ = {}");
|
/external/v8/test/mjsunit/compiler/ |
osr-infinite.js | 21 assertThrows(func);
|
try-osr.js | 51 assertThrows("OSRInsideFinally_ReThrow(new Error)", Error);
|
/external/v8/test/mjsunit/es6/ |
classes-maps.js | 65 assertThrows(function() { d2.byteLength; }, TypeError);
|
object-literals-property-shorthand.js | 34 assertThrows(function() {
|
typedarray-copywithin.js | 69 assertThrows(function() { 72 assertThrows(function() { 75 assertThrows(function() { 78 assertThrows(function() {
|
typedarray-every.js | 126 assertThrows(function () { constructor.prototype.every.call([1, 2, 3], function (x) {}) }, TypeError); 127 assertThrows(function () { constructor.prototype.every.call("abc", function (x) {}) }, TypeError); 128 assertThrows(function () { constructor.prototype.every.call({}, function (x) {}) }, TypeError); 129 assertThrows(function () { constructor.prototype.every.call(0, function (x) {}) }, TypeError);
|
typedarray-foreach.js | 129 assertThrows(function () { constructor.prototype.forEach.call([1, 2, 3], function (x) {}) }, TypeError); 130 assertThrows(function () { constructor.prototype.forEach.call("abc", function (x) {}) }, TypeError); 131 assertThrows(function () { constructor.prototype.forEach.call({}, function (x) {}) }, TypeError); 132 assertThrows(function () { constructor.prototype.forEach.call(0, function (x) {}) }, TypeError);
|
typedarray-reverse.js | 43 assertThrows(function () { a.reverse.call({ length: 0 }); }, TypeError);
|