Searched refs:assertThrows (Results 1 - 25 of 33) 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 | 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 | delay-syntax-error.js | 39 assertThrows("return;"); 40 assertThrows("break;"); 41 assertThrows("continue;");
|
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 | 36 assertThrows("o.x = 42"); 43 assertThrows("f()"); 50 assertThrows("g()");
|
H A D | number-string-index-call.js | 31 assertThrows("callbacks['1']()");
|
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 | array-join.js | 41 assertThrows("a.join('*')");
|
H A D | global-ic.js | 47 assertThrows("CallOnGlobal(" + i + ")");
|
H A D | apply.js | 86 assertThrows("f0.apply(this, 1);"); 87 assertThrows("f0.apply(this, 1, 2);"); 88 assertThrows("f0.apply(this, 1, new Array(2));"); 191 assertThrows("String.prototype.concat.apply.apply('foo', primes)");
|
H A D | const-eval-init.js | 81 assertThrows("testAssignGlobalThrows()");
|
H A D | array-constructor.js | 118 assertThrows('new Array(3.14)'); 119 assertThrows('Array(2.72)');
|
H A D | json.js | 34 assertThrows(function () { n2.toJSON(); }, TypeError); 37 assertThrows(function () { n3.toJSON(); }, TypeError, 'result_not_primitive'); 76 assertThrows(function () { n2.toJSON(); }, TypeError); 79 assertThrows(function () { n3.toJSON(); }, TypeError, "result_not_primitive"); 162 assertThrows(function () { JSON.parse(str); }, SyntaxError); 269 assertThrows(function () { JSON.stringify(circular); }, TypeError);
|
H A D | indexed-accessors.js | 100 assertThrows('q[0] = 7'); 118 assertThrows('this[a].__parent__');
|
/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-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-192.js | 37 assertThrows("({ x: 42 })");
|
H A D | regress-341.js | 36 assertThrows("o instanceof F");
|
/external/v8/test/mjsunit/third_party/ |
H A D | object-keys.js | 34 assertThrows(function () { Object.keys(2) }, TypeError); 35 assertThrows(function () { Object.keys("foo") }, TypeError); 36 assertThrows(function () { Object.keys(null) }, TypeError); 37 assertThrows(function () { Object.keys(undefined) }, TypeError);
|
/external/v8/test/mjsunit/tools/ |
H A D | splaytree.js | 155 assertThrows('tree.remove(5)'); 159 assertThrows('tree.remove(1)'); 160 assertThrows('tree.remove(6)'); 161 assertThrows('tree.remove(10)');
|
Completed in 117 milliseconds
12