Home
last modified time | relevance | path

Searched refs:ReferenceError (Results 1 – 25 of 60) sorted by relevance

123

/external/v8/test/mjsunit/
Derror-constructors.js37 ReferenceError.prototype.__defineSetter__('stack', fail); class
38 ReferenceError.prototype.__defineSetter__('message', fail);
39 ReferenceError.prototype.__defineSetter__('type', fail);
40 ReferenceError.prototype.__defineSetter__('arguments', fail);
41 var e0 = new ReferenceError();
42 var e1 = new ReferenceError('123');
56 assertEquals("ReferenceError", ReferenceError.prototype.name);
57 delete ReferenceError.prototype.name;
58 assertEquals("ReferenceError", ReferenceError.prototype.name);
59 ReferenceError.prototype.name = "not a reference error";
[all …]
Deval-typeof-non-existing.js34 assertThrows('typeof(true ? xxx : yyy)', ReferenceError);
35 assertThrows('with ({}) { typeof(true ? xxx : yyy) }', ReferenceError);
Dstrict-mode-opt.js51 assertInstanceof(e, ReferenceError);
97 assertInstanceof(e, ReferenceError);
Dbody-not-visible.js37 assertTrue(e instanceof ReferenceError);
Dstack-traces.js153 new ReferenceError({
185 ReferenceError.prototype.toString = function () { NESTED_FAIL; }; class
/external/chromium_org/v8/test/mjsunit/harmony/
Dmodule-linking.js43 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 …]
Dblock-let-crankshaft.js173 assertInstanceof(e, ReferenceError);
181 assertInstanceof(e, ReferenceError);
196 assertInstanceof(e, ReferenceError);
207 assertInstanceof(e, ReferenceError);
255 assertInstanceof(e, ReferenceError);
261 assertInstanceof(e, ReferenceError);
Dblock-let-semantics.js40 assertInstanceof(e, ReferenceError);
50 assertInstanceof(e, ReferenceError);
/external/chromium_org/v8/test/webkit/fast/js/
Dmodify-non-references-expected.txt30 …IL g()++ should throw ReferenceError: Postfix ++ operator applied to value that is not a reference…
31 …IL g()-- should throw ReferenceError: Postfix -- operator applied to value that is not a reference…
32 …IL ++g() should throw ReferenceError: Prefix ++ operator applied to value that is not a reference.…
33 …IL --g() should throw ReferenceError: Prefix -- operator applied to value that is not a reference.…
34 FAIL g() = 1 should throw ReferenceError: Left side of assignment is not a reference.. Threw except…
35 FAIL g() += 1 should throw ReferenceError: Left side of assignment is not a reference.. Threw excep…
/external/chromium_org/v8/test/webkit/
DtoString-prefix-postfix-preserve-parens-expected.txt31 PASS prefix_should_preserve_parens(1, 2, 3); threw exception ReferenceError: Invalid left-hand side…
32 PASS eval(unevalf(prefix_should_preserve_parens))(1, 2, 3); threw exception ReferenceError: Invalid…
35 PASS postfix_should_preserve_parens(1, 2, 3); threw exception ReferenceError: Invalid left-hand sid…
36 PASS eval(unevalf(postfix_should_preserve_parens))(1, 2, 3); threw exception ReferenceError: Invali…
39 PASS both_should_preserve_parens(1, 2, 3); threw exception ReferenceError: Invalid left-hand side e…
40 PASS eval(unevalf(both_should_preserve_parens))(1, 2, 3); threw exception ReferenceError: Invalid l…
43 PASS prefix_should_preserve_parens_multi(1, 2, 3); threw exception ReferenceError: Invalid left-han…
44 PASS eval(unevalf(prefix_should_preserve_parens_multi))(1, 2, 3); threw exception ReferenceError: I…
47 PASS postfix_should_preserve_parens_multi(1, 2, 3); threw exception ReferenceError: Invalid left-ha…
48 PASS eval(unevalf(postfix_should_preserve_parens_multi))(1, 2, 3); threw exception ReferenceError: …
[all …]
/external/chromium_org/v8/test/mjsunit/
Derror-constructors.js54 ReferenceError.prototype.__defineSetter__('name', fail); class
55 ReferenceError.prototype.__defineSetter__('message', fail);
56 ReferenceError.prototype.__defineSetter__('stack', fail);
58 var e = new ReferenceError();
61 var e = new ReferenceError('123');
72 var errors = [SyntaxError, ReferenceError, TypeError];
Deval-typeof-non-existing.js34 assertThrows('typeof(true ? xxx : yyy)', ReferenceError);
35 assertThrows('with ({}) { typeof(true ? xxx : yyy) }', ReferenceError);
Dstrict-mode-opt.js51 assertInstanceof(e, ReferenceError);
97 assertInstanceof(e, ReferenceError);
Dbody-not-visible.js37 assertTrue(e instanceof ReferenceError);
/external/v8/test/mjsunit/harmony/
Dblock-let-crankshaft.js173 assertInstanceof(e, ReferenceError);
181 assertInstanceof(e, ReferenceError);
196 assertInstanceof(e, ReferenceError);
207 assertInstanceof(e, ReferenceError);
255 assertInstanceof(e, ReferenceError);
261 assertInstanceof(e, ReferenceError);
Dblock-let-semantics.js40 assertInstanceof(e, ReferenceError);
50 assertInstanceof(e, ReferenceError);
/external/chromium_org/v8/test/mjsunit/regress/
Dregress-2322.js32 assertThrows("'use strict'; for (let x in x);", ReferenceError);
36 assertThrows(function() { pppp = true }, ReferenceError);
Dregress-2286.js30 assertThrows("f()", ReferenceError);
Dregress-900055.js40 assertTrue(e instanceof ReferenceError);
Dregress-1178598.js83 assertTrue(exception instanceof ReferenceError);
/external/chromium_org/v8/test/webkit/fast/js/kde/
Dlval-exceptions.js28 fnShouldThrow(function() { a = x; }, ReferenceError);
31 fnShouldThrow(function() { x += "foo"; }, ReferenceError);
/external/v8/test/message/regress/
Dregress-1527.out28 *%(basename)s:32: ReferenceError: foo is not defined
31 ReferenceError: foo is not defined
/external/chromium_org/v8/test/message/regress/
Dregress-1527.out28 *%(basename)s:32: ReferenceError: foo is not defined
31 ReferenceError: foo is not defined
/external/v8/test/mjsunit/regress/
Dregress-900055.js40 assertTrue(e instanceof ReferenceError);
Dregress-1178598.js83 assertTrue(exception instanceof ReferenceError);

123