/external/v8/test/mjsunit/ |
D | invalid-lhs.js | 32 assertThrows("12 = 12", ReferenceError); 33 assertThrows("x++ = 12", ReferenceError); 34 assertThrows("eval('var x') = 12", ReferenceError); 35 assertThrows("if (false) 12 = 12", ReferenceError); 36 assertDoesNotThrow("if (false) eval('var x') = 12", ReferenceError); 39 assertThrows("12++", ReferenceError); 40 assertThrows("12--", ReferenceError); 41 assertThrows("++12", ReferenceError); 42 assertThrows("--12", ReferenceError); 43 assertThrows("++(eval('12'))", ReferenceError); [all …]
|
D | context-calls-maintained.js | 50 assertThrows(function() { f(); }, ReferenceError); 55 assertThrows(function() { f(); }, ReferenceError); 62 assertThrows(function() { f(); }, ReferenceError); 84 assertThrows(function() { foo(); }, ReferenceError); 92 assertThrows(function() { foo(); }, ReferenceError); 106 assertThrows(function() { bar(); }, ReferenceError); 115 assertThrows(function() { bar(); }, ReferenceError);
|
D | error-constructors.js | 52 ReferenceError.prototype.__defineSetter__('name', fail); class 53 ReferenceError.prototype.__defineSetter__('message', fail); 54 ReferenceError.prototype.__defineSetter__('stack', fail); 56 var e = new ReferenceError(); 59 var e = new ReferenceError('123'); 77 var errors = [SyntaxError, ReferenceError, TypeError, RangeError, URIError]; 96 SyntaxError, ReferenceError, TypeError, MyError];
|
D | eval-typeof-non-existing.js | 34 assertThrows('typeof(true ? xxx : yyy)', ReferenceError); 35 assertThrows('with ({}) { typeof(true ? xxx : yyy) }', ReferenceError);
|
/external/v8/test/mjsunit/regress/ |
D | regress-3926.js | 26 assertThrows(function() {f(2)}, ReferenceError); 27 assertThrows(function() {f(3)}, ReferenceError); 40 }, ReferenceError); 60 assertThrows(g(2), ReferenceError); 61 assertThrows(g(3), ReferenceError); 62 assertThrows(function () {g(4)}, ReferenceError); 63 assertThrows(function () {g(5)}, ReferenceError); 84 assertThrows(h(2), ReferenceError); 85 assertThrows(h(3), ReferenceError); 86 assertThrows(function () {h(4)}, ReferenceError); [all …]
|
D | regress-4388.js | 18 assertThrows("test_hole_check_for_let(1)", ReferenceError); 20 assertThrows("test_hole_check_for_let(1)", ReferenceError); 33 assertThrows("test_hole_check_for_const(1)", ReferenceError); 35 assertThrows("test_hole_check_for_const(1)", ReferenceError);
|
D | regress-crbug-467531.js | 15 }, ReferenceError); 25 }, ReferenceError);
|
D | regress-crbug-477924.js | 5 var dummy = new ReferenceError("dummy"); 7 constructors = [ ReferenceError, TypeError];
|
/external/v8/test/mjsunit/harmony/ |
D | module-linking.js | 43 assertThrows(function() { l }, ReferenceError) 44 assertThrows(function() { ll }, ReferenceError) 45 assertThrows(function() { R.l }, ReferenceError) 46 assertThrows(function() { M.l }, ReferenceError) 47 assertThrows(function() { MM.l }, ReferenceError) 48 assertThrows(function() { F.l }, ReferenceError) 49 assertThrows(function() { G.l }, ReferenceError) 50 assertThrows(function() { c }, ReferenceError) 51 assertThrows(function() { cc }, ReferenceError) 52 assertThrows(function() { R.c }, ReferenceError) [all …]
|
D | block-const-assign-sloppy.js | 39 function(use) { return use + "; const c = 1;" }, ReferenceError, 40 function(use) { return use + "; const x = 0, c = 1;" }, ReferenceError, 41 function(use) { return "const x = (" + use + "), c = 1;" }, ReferenceError, 42 function(use) { return "const c = (" + use + ");" }, ReferenceError, 66 }, ReferenceError, 69 }, ReferenceError, 72 }, ReferenceError, 75 }, ReferenceError, 78 }, ReferenceError, 107 }, ReferenceError, [all …]
|
D | default-parameters.js | 186 assertThrows(f11, ReferenceError); 188 assertThrows(f12, ReferenceError); 190 assertThrows(f13, ReferenceError); 212 assertThrows(g11, ReferenceError); 214 assertThrows(g12, ReferenceError); 216 assertThrows(g13, ReferenceError); 244 assertThrows(f11, ReferenceError); 246 assertThrows(f12, ReferenceError); 248 assertThrows(f13, ReferenceError); 260 assertThrows(() => f1(undefined, 4), ReferenceError); [all …]
|
D | block-let-crankshaft-sloppy.js | 350 assertInstanceof(e, ReferenceError); 358 assertInstanceof(e, ReferenceError); 373 assertInstanceof(e, ReferenceError); 384 assertInstanceof(e, ReferenceError); 398 assertInstanceof(e, ReferenceError); 406 assertInstanceof(e, ReferenceError); 421 assertInstanceof(e, ReferenceError); 432 assertInstanceof(e, ReferenceError);
|
D | default-parameters-debug.js | 24 }, ReferenceError); 28 }, ReferenceError); 35 }, ReferenceError);
|
/external/v8/test/mjsunit/es6/ |
D | block-const-assign.js | 39 function(use) { return use + "; const c = 1;" }, ReferenceError, 40 function(use) { return use + "; const x = 0, c = 1;" }, ReferenceError, 41 function(use) { return "const x = (" + use + "), c = 1;" }, ReferenceError, 42 function(use) { return "const c = (" + use + ");" }, ReferenceError, 66 }, ReferenceError, 69 }, ReferenceError, 72 }, ReferenceError, 75 }, ReferenceError, 78 }, ReferenceError, 107 }, ReferenceError, [all …]
|
D | block-scope-class.js | 34 "function f() { return x; }; f(); class x { };", ReferenceError); 36 "f(); function f() { return x; }; class x { };", ReferenceError); 38 "f(); class x { }; function f() { return x; };", ReferenceError); 41 ReferenceError); 42 AssertThrowsStrictAndSloppy("x = 3; class x { };", ReferenceError)
|
D | block-let-crankshaft.js | 351 assertInstanceof(e, ReferenceError); 359 assertInstanceof(e, ReferenceError); 374 assertInstanceof(e, ReferenceError); 385 assertInstanceof(e, ReferenceError); 399 assertInstanceof(e, ReferenceError); 407 assertInstanceof(e, ReferenceError); 422 assertInstanceof(e, ReferenceError); 433 assertInstanceof(e, ReferenceError);
|
D | new-target.js | 406 assertThrows(function() { Function("new.target = 42"); }, ReferenceError); 407 assertThrows(function() { Function("var foo = 1; new.target = foo = 42"); }, ReferenceError); 408 assertThrows(function() { Function("var foo = 1; foo = new.target = 42"); }, ReferenceError); 409 assertThrows(function() { Function("new.target--"); }, ReferenceError); 410 assertThrows(function() { Function("--new.target"); }, ReferenceError); 411 assertThrows(function() { Function("(new.target)++"); }, ReferenceError); 412 assertThrows(function() { Function("++(new.target)"); }, ReferenceError);
|
D | classes-experimental.js | 59 assertTrue(exn instanceof ReferenceError); 89 assertTrue(exn instanceof ReferenceError); 107 assertThrows(function() { new BadSubclass(); }, ReferenceError); 132 assertTrue(exn instanceof ReferenceError); 143 assertTrue(exn instanceof ReferenceError); 154 assertTrue(exn instanceof ReferenceError);
|
/external/v8/test/webkit/fast/js/ |
D | function-toString-parentheses-expected.txt | 237 FAIL compileAndSerialize('(a = b) = c') should be (a = b) = c. Threw exception ReferenceError: Inva… 242 PASS compileAndSerialize('a + b = c') threw exception ReferenceError: Invalid left-hand side in ass… 243 FAIL compileAndSerialize('(a + b) = c') should be (a + b) = c. Threw exception ReferenceError: Inva… 246 FAIL compileAndSerialize('(a *= b) *= c') should be (a *= b) *= c. Threw exception ReferenceError: … 249 FAIL compileAndSerialize('(a = b) *= c') should be (a = b) *= c. Threw exception ReferenceError: In… 254 PASS compileAndSerialize('a + b *= c') threw exception ReferenceError: Invalid left-hand side in as… 255 FAIL compileAndSerialize('(a + b) *= c') should be (a + b) *= c. Threw exception ReferenceError: In… 258 FAIL compileAndSerialize('(a /= b) /= c') should be (a /= b) /= c. Threw exception ReferenceError: … 261 FAIL compileAndSerialize('(a = b) /= c') should be (a = b) /= c. Threw exception ReferenceError: In… 266 PASS compileAndSerialize('a + b /= c') threw exception ReferenceError: Invalid left-hand side in as… [all …]
|
D | modify-non-references-expected.txt | 30 PASS Number()++ threw exception ReferenceError: Invalid left-hand side expression in postfix operat… 31 PASS Number()-- threw exception ReferenceError: Invalid left-hand side expression in postfix operat… 32 PASS ++Number() threw exception ReferenceError: Invalid left-hand side expression in prefix operati… 33 PASS --Number() threw exception ReferenceError: Invalid left-hand side expression in prefix operati… 34 PASS Number() = 1 threw exception ReferenceError: Invalid left-hand side in assignment. 35 PASS Number() += 1 threw exception ReferenceError: Invalid left-hand side in assignment.
|
/external/v8/test/mjsunit/strong/ |
D | mutually-recursive-classes.js | 18 ReferenceError); 27 ReferenceError); 29 ReferenceError); 35 ReferenceError); 39 ReferenceError); 41 ReferenceError);
|
/external/v8/test/mjsunit/es6/regress/ |
D | regress-468661.js | 12 [ReferenceError, undefined, 0, 0, 0, 0, 1, ReferenceError, ReferenceError]; 38 if (expected_values[break_count] === ReferenceError) { 39 assertTrue(v instanceof ReferenceError);
|
D | regress-2322.js | 30 assertThrows("'use strict'; for (let x in x);", ReferenceError); 34 assertThrows(function() { pppp = true }, ReferenceError);
|
/external/v8/test/webkit/ |
D | class-syntax-name-expected.txt | 7 PASS A threw exception ReferenceError: A is not defined. 8 PASS 'use strict'; A threw exception ReferenceError: A is not defined. 35 PASS A threw exception ReferenceError: A is not defined. 36 PASS 'use strict'; A threw exception ReferenceError: A is not defined. 47 PASS (class A {}); A threw exception ReferenceError: A is not defined. 48 PASS 'use strict'; (class A {}); A threw exception ReferenceError: A is not defined. 59 PASS class A {}; (class B extends A {}); B threw exception ReferenceError: B is not defined. 60 PASS 'use strict'; class A {}; (class B extends A {}); B threw exception ReferenceError: B is not d… 73 PASS A threw exception ReferenceError: A is not defined. 74 PASS 'use strict'; A threw exception ReferenceError: A is not defined. [all …]
|
D | class-syntax-super-expected.txt | 21 PASS (new x).method1() threw exception ReferenceError: Unsupported reference to 'super'. 22 PASS (new x).method2() threw exception ReferenceError: Unsupported reference to 'super'. 25 PASS new (class extends Base { constructor() { return undefined } }) threw exception ReferenceError… 29 PASS new (class extends Base { constructor() { } }) threw exception ReferenceError: this is not def… 31 PASS new (class extends null { constructor() { return undefined } }) threw exception ReferenceError… 35 PASS new (class extends null { constructor() { } }) threw exception ReferenceError: this is not def…
|