Searched refs:assertThrows (Results 1 - 25 of 74) sorted by relevance
123
/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 | number-string-index-call.js | 30 assertThrows("callbacks['1']()"); 31 assertThrows("callbacks['2']('abcdefg')");
|
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(); }};");
|
/external/v8/test/mjsunit/regress/ |
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-87.js | 36 assertThrows("/x/\\u0067"); 37 assertThrows("/x/\\u0069"); 38 assertThrows("/x/\\u006d"); 40 assertThrows("/x/\\u0067i"); 41 assertThrows("/x/\\u0069m"); 42 assertThrows("/x/\\u006dg"); 44 assertThrows("/x/m\\u0067"); 45 assertThrows("/x/g\\u0069"); 46 assertThrows("/x/i\\u006d"); 48 assertThrows("/ [all...] |
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-1620.js | 36 assertThrows("var \\u\\u\\u = 42;"); 37 assertThrows("var \\u41 = 42;"); 38 assertThrows("var \\u123 = 42;"); 41 assertThrows("var uuu = 42; var x = \\u\\u\\u"); 50 assertThrows("/x/g\\uim", SyntaxError); 51 assertThrows("/x/g\\u2im", SyntaxError); 52 assertThrows("/x/g\\u22im", SyntaxError); 53 assertThrows("/x/g\\u222im", SyntaxError); 54 assertThrows("/x/g\\\\u2222im", SyntaxError);
|
H A D | regress-219.js | 60 assertThrows("/a/ii"); 62 assertThrows("/a/gii"); 64 assertThrows("/a/igi"); 66 assertThrows("/a/iig"); 68 assertThrows("/a/gimi"); 70 assertThrows("/a/giim"); 72 assertThrows("/a/igim"); 74 assertThrows(function(){ return RegExp("a", "ii"); }) 76 assertThrows(function(){ return RegExp("a", "gii"); }) 78 assertThrows(functio [all...] |
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-1415.js | 30 assertThrows(function(){ decodeURIComponent("%ED%A0%80"); }, URIError); 32 assertThrows(function(){ decodeURIComponent("%ED%AF%BF"); }, URIError); 34 assertThrows(function(){ decodeURIComponent("%ED%B0%80"); }, URIError); 36 assertThrows(function(){ decodeURIComponent("%ED%BF%BF"); }, URIError); 40 assertThrows(function(){ decodeURIComponent("%C1%BF"); }, URIError); 42 assertThrows(function(){ decodeURIComponent("%E0%9F%BF"); }, URIError);
|
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-91787.js | 33 assertThrows(function() {
|
H A D | regress-341.js | 36 assertThrows("o instanceof F");
|
H A D | regress-1924.js | 33 assertThrows("a: break a a", SyntaxError) 34 assertThrows("a: break a 1", SyntaxError) 35 assertThrows("a: break a ''", SyntaxError) 36 assertThrows("a: break a var b", SyntaxError) 37 assertThrows("a: break a {}", SyntaxError)
|
H A D | regress-603.js | 33 assertThrows(function() { 39 assertThrows(function() { 44 assertThrows(function() { 49 assertThrows(function() { 55 assertThrows(function() { 61 assertThrows(function() {
|
H A D | regress-95920.js | 32 assertThrows(function() { 39 assertThrows(function() { 46 assertThrows(function() { 53 assertThrows(function() {
|
H A D | regress-119429.js | 37 assertThrows(function() { recurse();} );
|
Completed in 170 milliseconds
123