HomeSort by relevance Sort by last modified time
    Searched full:assertthrows (Results 201 - 225 of 458) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/v8/test/mjsunit/harmony/
proxies-prevent-extensions.js 45 assertThrows(() => {Reflect.preventExtensions(proxy)}, TypeError);
59 assertThrows(() => {Reflect.isExtensible(proxy)}, TypeError);
82 assertThrows(() => {Reflect.preventExtensions(proxy)}, TypeError);
proxies-example-membrane.js 249 assertThrows(function() { w.a }, Error);
250 assertThrows(function() { w.r }, Error);
251 assertThrows(function() { w.r = {a: 4} }, Error);
252 assertThrows(function() { o.r.a }, Error);
256 assertThrows(function() { w[1] }, Error);
257 assertThrows(function() { w.c }, Error);
258 assertThrows(function() { wb.bb }, Error);
259 assertThrows(function() { wr.a }, Error);
260 assertThrows(function() { wf(4) }, Error);
261 assertThrows(function() { wfx.a }, Error)
    [all...]
  /external/v8/test/mjsunit/regress/
regress-1036894.js 28 assertThrows("$=function anonymous() { /*noex*/do {} while(({ get x(x) { break ; }, set x() { (undefined);} })); }");
31 assertThrows("$=function anonymous() { /*noex*/do {} while(({ get x(x) { break ; }, set x() { (undefined);} })); }");
35 assertThrows("$=function anonymous() { /*noex*/do {} while(({ get x(x) { break ; }, set x() { (undefined);} })); }");
regress-2843.js 41 assertThrows("foo(1, bailout)");
42 assertThrows("foo(1, bailout)");
44 assertThrows("foo(1, bailout)");
regress-3029.js 42 assertThrows("g()", TypeError);
43 assertThrows("g()", TypeError);
45 assertThrows("g()", TypeError);
regress-1365.js 43 assertThrows(callGlobalValueOf);
44 assertThrows(callGlobalHasOwnProperty);
50 assertThrows(callGlobalValueOf);
51 assertThrows(callGlobalHasOwnProperty);
regress-1548.js 33 assertThrows(function() { testfn(foo); } );
38 assertThrows(function() { testfn(foo); } );
43 assertThrows(function() { testarguments(bar); } );
48 assertThrows(function() { testarguments(bar); } );
regress-3334.js 12 assertThrows(function() { "use strict"; bar.prototype = 10; }, TypeError);
regress-4693.js 21 assertThrows(`
regress-568765.js 12 assertThrows = function assertThrows(code, type_opt, cause_opt) { var threwException = true; try { if (typeof code == 'function') { code(); } else {; } threwException = false; } catch (e) { if (typeof type_opt == 'function') {; } if (arguments.length >= 3) {; } return; } };
68 assertThrows(function() { tailee4.call(); });
73 assertThrows(function() { tailee5.call(); });
regress-578775.js 18 assertThrows(f, RangeError);
regress-crbug-467047.js 17 assertThrows(function() { captureMatch(/(bc)/) }, RangeError);
regress-crbug-469480.js 13 assertThrows(function f() { f(/./.test("a")); }, RangeError);
regress-crbug-489293.js 16 assertThrows(f, ReferenceError);
  /external/v8/test/mjsunit/
callsite.js 9 assertThrows(()=>constructor({}, {}, 1, false), TypeError);
element-read-only.js 31 assertThrows(function() { store(o, index, 0); });
46 assertThrows(function() { store(o, index, 0); });
61 assertThrows(function() { store(o, index, 0); });
76 assertThrows(function() { store(o, index, 0); });
92 assertThrows(function() { store(o, index, 0); });
108 assertThrows(function() { store(o, index, 0); });
124 assertThrows(function() { store(o, index, 0); });
138 assertThrows(function() { store(o, 3, 0); });
152 assertThrows(function() { store(o, 3, 0); });
getter-in-prototype.js 41 assertThrows(function() { 'use strict'; o.x = 42; });
42 assertThrows(function() { 'use strict'; o[0] = 42; });
65 assertThrows(g_strict);
78 assertThrows(g2_strict);
keywords-and-reserved_words.js 80 assertThrows("var " + word + " = 1;", SyntaxError);
82 assertThrows("typeof (" + word + ");", SyntaxError);
96 assertThrows("function " + word + " () { }", SyntaxError);
97 assertThrows("function foo (" + word + ") {}", SyntaxError);
98 assertThrows("function foo (a, " + word + ") { }", SyntaxError);
99 assertThrows("function foo (" + word + ", a) { }", SyntaxError);
100 assertThrows("function foo (a, " + word + ", b) { }", SyntaxError);
101 assertThrows("var foo = function (" + word + ") { }", SyntaxError);
104 assertThrows("var x = { set foo(" + word + ") { } };", SyntaxError);
object-literal-multiple-proto-fields.js 12 assertThrows(
d8-os.js 76 assertThrows("os.system('ls', [TEST_DIR + '/dir/bar']);");
89 assertThrows("os.mkdirp(TEST_DIR + '/file1');");
90 assertThrows("os.mkdirp(TEST_DIR + '/file1/foo');");
91 assertThrows("os.mkdirp(TEST_DIR + '/file1/');");
92 assertThrows("os.mkdirp(TEST_DIR + '/file1/foo/');");
96 assertThrows("os.chdir(TEST_DIR + '/dir4');");
98 assertThrows("os.chdir(TEST_DIR + '/dir4');");
106 assertThrows("os.chdir(TEST_DIR + '/dir5');");
108 assertThrows("os.chdir(TEST_DIR + '/dir5');");
132 assertThrows("os.system('sleep', ['2000'], 20);")
    [all...]
  /external/v8/test/mjsunit/compiler/
regress-to-number-binop-deopt.js 23 assertThrows(multiply_one_symbol, TypeError);
  /external/v8/test/mjsunit/es6/
classes-experimental.js 100 assertThrows(function() { Subclass.call(new Object(), 1, 2); }, TypeError);
101 assertThrows(function() { Base.call(new Object(), 1, 2); }, TypeError);
107 assertThrows(function() { new BadSubclass(); }, ReferenceError);
189 assertThrows(function() { Subclass(1); }, TypeError);
190 assertThrows(function() { Subclass(1,2,3,4); }, TypeError);
262 assertThrows(function () { f(1, 2); }, TypeError);
274 assertThrows(function () { g(8); }, TypeError);
284 assertThrows(function() { Base1(); }, TypeError);
288 assertThrows(function() { Subclass1(); }, TypeError);
object-literals-method.js 59 assertThrows(function() {
112 assertThrows(function() { return obj.method.arguments; }, TypeError);
113 assertThrows(function() { obj.method.arguments = {}; }, TypeError);
116 assertThrows(function() { return obj.method.caller; }, TypeError);
117 assertThrows(function() { obj.method.caller = {}; }, TypeError);
126 assertThrows(function() { return obj.method.arguments; }, TypeError);
127 assertThrows(function() { obj.method.arguments = {}; }, TypeError);
130 assertThrows(function() { return obj.method.caller; }, TypeError);
131 assertThrows(function() { obj.method.caller = {}; }, TypeError);
string-raw.js 11 assertThrows("String.raw()", TypeError);
16 assertThrows("String.raw([])", TypeError);
162 assertThrows(function() { String.raw(callSiteObj); }, MyError);
182 assertThrows(function() {
187 assertThrows(function() {
202 assertThrows(function() {
207 assertThrows(function() {
223 assertThrows(function() {
228 assertThrows(function() {
  /external/v8/test/mjsunit/es6/regress/
regress-2243.js 28 assertThrows("'use strict'; (function f() { f = 123; })()", TypeError);
29 assertThrows("(function f() { 'use strict'; f = 123; })()", TypeError);

Completed in 311 milliseconds

1 2 3 4 5 6 7 891011>>