Home
last modified time | relevance | path

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

12345678

/third_party/jerryscript/tests/jerry/
Darray-prototype-sort.js74 Object.defineProperty(obj, 'length', { 'get' : function () { throw new ReferenceError ("foo"); } });
81 assert(e instanceof ReferenceError);
86 Object.defineProperty(obj, '0', { 'get' : function () { throw new ReferenceError ("foo"); } });
93 assert(e instanceof ReferenceError);
98 Object.defineProperty(obj, '0', { 'get' : function () { throw new ReferenceError ("foo"); } });
99 Object.defineProperty(obj, '1', { 'get' : function () { throw new ReferenceError ("bar"); } });
106 assert(e instanceof ReferenceError);
132 Object.defineProperty(arr, '2', { 'get' : function () { throw new ReferenceError ("foo"); } });
139 assert(e instanceof ReferenceError);
143 f = function () { throw new ReferenceError('foo'); };
[all …]
Darray-prototype-slice.js92 Object.defineProperty(obj, 'length', { 'get' : function () { throw new ReferenceError ("foo"); } });
99 assert (e instanceof ReferenceError);
104 Object.defineProperty(obj, '0', { 'get' : function () { throw new ReferenceError ("foo"); } });
111 assert (e instanceof ReferenceError);
117 Object.defineProperty(arg1, 'valueOf', { 'get' : function () { throw new ReferenceError ("foo"); } …
125 assert(e instanceof ReferenceError);
131 Object.defineProperty(arg2, 'valueOf', { 'get' : function () { throw new ReferenceError ("foo"); } …
139 assert(e instanceof ReferenceError);
145 Object.defineProperty(obj, '1', { 'get' : function () { throw new ReferenceError ("foo"); } });
152 assert (e instanceof ReferenceError);
Darray-prototype-unshift.js52 Object.defineProperty(obj, 'length', { 'get' : function () {throw new ReferenceError ("foo"); } });
59 assert(e instanceof ReferenceError);
64 Object.defineProperty(obj, 'length', { 'set' : function () {throw new ReferenceError ("foo"); } });
71 assert(e instanceof ReferenceError);
76 Object.defineProperty(obj, '0', { 'get' : function () {throw new ReferenceError ("foo"); } });
83 assert(e instanceof ReferenceError);
87 Object.defineProperty(obj, '0', { 'set' : function () {throw new ReferenceError ("foo"); } });
94 assert(e instanceof ReferenceError);
Darray-prototype-join.js34 Object.defineProperty(obj, 'length', { 'get' : function () {throw new ReferenceError ("foo"); } });
43 assert (e instanceof ReferenceError);
48 [1,2,3].join({toString: function() { throw new ReferenceError ("foo"); }});
53 assert (e instanceof ReferenceError);
58 [1, 2, {toString: function() { throw new ReferenceError ("foo"); }}, 4].join();
63 assert (e instanceof ReferenceError);
Darray-prototype-pop.js36 Object.defineProperty(obj, 'length', { 'get' : function () {throw new ReferenceError ("foo"); } });
43 assert(e instanceof ReferenceError);
48 Object.defineProperty(obj, 'length', { 'set' : function () {throw new ReferenceError ("foo"); } });
55 assert(e instanceof ReferenceError);
66 Object.defineProperty(obj, '0', { 'get' : function () {throw new ReferenceError ("foo"); } });
73 assert(e instanceof ReferenceError);
Darray-prototype-reverse.js25 Object.defineProperty(obj, 'length', { 'get' : function () {throw new ReferenceError ("foo"); } });
32 assert(e instanceof ReferenceError);
37 Object.defineProperty(obj, '0', { 'get' : function () {throw new ReferenceError ("foo"); } });
44 assert(e instanceof ReferenceError);
50 Object.defineProperty(obj, '3', { 'get' : function () {throw new ReferenceError ("foo"); } });
57 assert(e instanceof ReferenceError);
Darray-prototype-shift.js36 throw new ReferenceError ("foo");
48 assert(e instanceof ReferenceError);
60 assert(e instanceof ReferenceError);
78 assert(e instanceof ReferenceError);
84 f = function () { throw new ReferenceError("getter"); };
90 assert(e instanceof ReferenceError);
Derror.js78 e = new ReferenceError ();
83 e = new ReferenceError("some message");
93 assert (ReferenceError.prototype.toString === Error.prototype.toString);
94 assert (ReferenceError.prototype.constructor === ReferenceError);
95 assert (ReferenceError.prototype.name === "ReferenceError");
96 assert (ReferenceError.prototype.message === "");
97 assert (ReferenceError.prototype.toString() === "ReferenceError");
107 assert(e instanceof ReferenceError);
Darray-prototype-splice.js157 Object.defineProperty(obj, 'length', { 'get' : function () { throw new ReferenceError ("foo"); } });
164 assert (e instanceof ReferenceError);
169 Object.defineProperty(obj, '0', { 'get' : function () { throw new ReferenceError ("foo"); } });
176 assert (e instanceof ReferenceError);
183 Object.defineProperty(o, 'toString', { 'get' : function() { throw new ReferenceError("1"); } });
187 assert(e instanceof ReferenceError);
195 Object.defineProperty(o, 'toString', { 'get' : function() { throw new ReferenceError("2"); } });
199 assert(e instanceof ReferenceError);
207 Object.defineProperty(a, '0', { 'get' : function() { throw new ReferenceError("foo0"); } });
211 assert(e instanceof ReferenceError);
Darray-prototype-tostring.js41 test.join = function() { throw ReferenceError ("foo"); };
49 assert (e instanceof ReferenceError);
55 Object.defineProperty(arr, 'join', { 'get' : function () {throw new ReferenceError ("foo"); } });
62 assert (e instanceof ReferenceError);
Darray-prototype-foreach.js26 Object.defineProperty(obj, 'length', { 'get' : function () {throw new ReferenceError ("foo"); } });
34 assert(e instanceof ReferenceError);
40 Object.defineProperty(obj, '0', { 'get' : function () {throw new ReferenceError ("foo"); } });
48 assert(e instanceof ReferenceError);
Darray-prototype-some.js41 Object.defineProperty(obj, 'length', { 'get' : function () {throw new ReferenceError ("foo"); } });
48 assert(e instanceof ReferenceError);
53 Object.defineProperty(obj, '0', { 'get' : function () {throw new ReferenceError ("foo"); } });
60 assert(e instanceof ReferenceError);
Darray-prototype-every.js41 Object.defineProperty(obj, 'length', { 'get' : function () {throw new ReferenceError ("foo"); } });
48 assert(e instanceof ReferenceError);
53 Object.defineProperty(obj, '0', { 'get' : function () {throw new ReferenceError ("foo"); } });
60 assert(e instanceof ReferenceError);
Dstring-prototype-concat.js53 y.toString = function () { throw new ReferenceError ("foo");}
59 assert(e instanceof ReferenceError);
64 x.toString = function () { throw new ReferenceError ("foo");}
69 assert(e instanceof ReferenceError);
Dfunction-prototype-apply.js54 throw new ReferenceError ("foo");
62 assert (e instanceof ReferenceError);
66 Object.defineProperty(array, '0', { 'get' : function () { throw new ReferenceError ("foo"); } });
73 assert (e instanceof ReferenceError);
Darray-prototype-filter.js55 Object.defineProperty(obj, 'length', { 'get' : function () {throw new ReferenceError ("foo"); } });
63 assert(e instanceof ReferenceError);
69 Object.defineProperty(obj, '0', { 'get' : function () {throw new ReferenceError ("foo"); } });
77 assert(e instanceof ReferenceError);
Dstring-prototype-match.js82 var obj = { toString: function() { throw new ReferenceError("foo"); } };
88 assert (e instanceof ReferenceError);
94 var obj = { toString: function() { throw new ReferenceError("foo"); } };
100 assert (e instanceof ReferenceError);
Darray-prototype-lastindexof.js51 Object.defineProperty(obj, 'length', { 'get' : function () { throw new ReferenceError ("foo"); } });
58 assert(e instanceof ReferenceError);
63 Object.defineProperty(obj, '0', { 'get' : function () { throw new ReferenceError ("foo"); } });
70 assert(e instanceof ReferenceError);
Darray-prototype-indexof.js68 Object.defineProperty(obj, 'length', { 'get' : function () { throw new ReferenceError ("foo"); } });
75 assert(e instanceof ReferenceError);
80 Object.defineProperty(obj, '0', { 'get' : function () { throw new ReferenceError ("foo"); } });
87 assert(e instanceof ReferenceError);
Dregression-test-issue-316.js17 v_1(ReferenceError);
26 v_1(ReferenceError);
35 v_1(ReferenceError);
Darray-prototype-concat.js67 Object.defineProperty(arr, '0', { 'get' : function () {throw new ReferenceError ("foo"); } });
75 assert(e instanceof ReferenceError);
83 Object.defineProperty(arr2, '0', { 'get' : function () {throw new ReferenceError ("foo"); } });
89 assert(e instanceof ReferenceError);
Darray-prototype-map.js73 Object.defineProperty(obj, 'length', { 'get' : function () {throw new ReferenceError ("foo"); } });
81 assert(e instanceof ReferenceError);
87 Object.defineProperty(obj, '0', { 'get' : function () {throw new ReferenceError ("foo"); } });
95 assert(e instanceof ReferenceError);
Dregression-test-issue-2914.js33 …Object.defineProperty(Number.prototype, "foo", { get : function() { throw ReferenceError("foo"); },
34 … set : function(a) { throw ReferenceError("bar"); },
39 assert(e instanceof ReferenceError);
/third_party/jerryscript/tests/jerry/es2015/
Ddataview.js44 new DataView (buffer, { toString: function () { throw new ReferenceError ('foo') } });
47 assert (e instanceof ReferenceError);
78 new DataView (buffer, 0, { toString: function () { throw new ReferenceError ('bar') } });
81 assert (e instanceof ReferenceError);
160 view[propName] ({ toString : function () { throw new ReferenceError ('fooBar') } });
163 assert (e instanceof ReferenceError);
Dsymbol-unscopables.js41 assert(e instanceof ReferenceError);
50 assert(e instanceof ReferenceError);
57 assert(e instanceof ReferenceError);
69 assert(e instanceof ReferenceError);

12345678