Searched refs:assertThrows (Results 1 - 25 of 46) sorted by relevance
12
/external/v8/test/mjsunit/ |
H A D | if-in-undefined.js | 33 assertThrows("if ('p' in undefined) { }"); 34 assertThrows("if ('p' in null) { }") 35 assertThrows("if ('p' in true) { }"); 36 assertThrows("if ('p' in 5) { }");
|
H A D | invalid-source-element.js | 31 assertThrows("eval('function() {}')");
|
H A D | scanner.js | 30 assertThrows('var \\u0030')
|
H A D | delay-syntax-error.js | 36 assertThrows("if (false) break;"); 37 assertThrows("if (false) continue;"); 40 assertThrows("return;"); 41 assertThrows("break;"); 42 assertThrows("continue;");
|
H A D | invalid-lhs.js | 32 assertThrows("12 = 12"); 33 assertThrows("x++ = 12"); 34 assertThrows("eval('var x') = 12"); 38 assertThrows("12++"); 39 assertThrows("12--"); 40 assertThrows("--12"); 41 assertThrows("++12"); 42 assertThrows("++(eval('12'))"); 43 assertThrows("(eval('12'))++"); 48 assertThrows("fo [all...] |
H A D | eval-typeof-non-existing.js | 34 assertThrows('typeof(true ? xxx : yyy)', ReferenceError); 35 assertThrows('with ({}) { typeof(true ? xxx : yyy) }', ReferenceError);
|
H A D | array-length-number-conversion.js | 49 assertThrows("var y = []; y.length = 'abc';"); 50 assertThrows("var y = []; y.length = undefined;"); 51 assertThrows("var y = []; y.length = {};"); 52 assertThrows("var y = []; y.length = -1;"); 53 assertThrows("var y = []; y.length = {valueOf:function() { throw new Error(); }};");
|
H A D | getter-in-prototype.js | 37 assertThrows("o.x = 42"); 38 assertThrows("o[0] = 42"); 45 assertThrows("f()"); 52 assertThrows("g()"); 58 assertThrows("g2()");
|
H A D | number-string-index-call.js | 31 assertThrows("callbacks['1']()");
|
H A D | value-of.js | 33 assertThrows(function() { o + 1 }, MyException);
|
H A D | call-non-function.js | 60 assertThrows(WillThrow); 61 assertThrows(WillThrow); 62 assertThrows(WillThrow); 63 assertThrows(WillThrow);
|
H A D | d8-os.js | 71 assertThrows("os.system('ls', ['dir/bar']);", "dir not there"); 84 assertThrows("os.mkdirp('file1');", "mkdir over file1"); 85 assertThrows("os.mkdirp('file1/foo');", "mkdir over file2"); 86 assertThrows("os.mkdirp('file1/');", "mkdir over file3"); 87 assertThrows("os.mkdirp('file1/foo/');", "mkdir over file4"); 91 assertThrows("os.chdir('dir4');", "chdir dir4 I"); 93 assertThrows("os.chdir('dir4');", "chdir dir4 II"); 99 assertThrows("os.chdir('dir5');", "cd dir5 I"); 101 assertThrows("os.chdir('dir5');", "chdir dir5 II"); 125 assertThrows("o [all...] |
H A D | strict-mode.js | 30 assertThrows("'use strict';\n" + code, exception); 31 assertThrows('"use strict";\n' + code, exception); 38 assertThrows("\ 59 assertThrows(function() { 78 assertThrows('\ 133 assertThrows('\ 160 assertThrows('\ 189 assertThrows("var x = { get foo() { }, get foo() { } };", SyntaxError); 190 assertThrows("var x = { get foo(){}, get 'foo'(){}};", SyntaxError); 191 assertThrows("va [all...] |
H A D | limit-locals.js | 45 assertThrows("function_with_n_locals(32768)"); 46 assertThrows("function_with_n_locals(100000)");
|
/external/v8/test/mjsunit/regress/ |
H A D | regress-221.js | 33 assertThrows('eval(delete eval)');
|
H A D | regress-259.js | 33 assertThrows("try { while (true) { throw 0; }} finally {}");
|
H A D | regress-918.js | 33 assertThrows("(label):42;");
|
H A D | regress-1112051.js | 30 assertThrows("f.call.apply()"); 31 assertThrows("f.call.apply(null)"); 32 assertThrows("f.call.apply(null, [], 0)"); 33 assertThrows("f.call.apply(null, [1,2,3,4,5,6,7,8,9], 0)");
|
H A D | 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);} })); }");
|
H A D | regress-1107.js | 32 assertThrows("x");
|
H A D | regress-990205.js | 38 assertThrows("f()");
|
H A D | regress-1309.js | 30 assertThrows("o.__proto__ = {}");
|
H A D | regress-341.js | 36 assertThrows("o instanceof F");
|
H A D | regress-1122.js | 65 assertThrows("function_with_n_params_and_m_args(35000, 35000)"); 66 assertThrows("function_with_n_params_and_m_args(100000, 100000)"); 67 assertThrows("function_with_n_params_and_m_args(35000, 30000)"); 68 assertThrows("function_with_n_params_and_m_args(30000, 35000)");
|
H A D | regress-1118.js | 50 assertThrows("h()");
|
Completed in 135 milliseconds
12