Searched refs:ReferenceError (Results 1 – 25 of 183) sorted by relevance
12345678
| /third_party/jerryscript/tests/jerry/ |
| D | array-prototype-sort.js | 74 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 …]
|
| D | array-prototype-slice.js | 92 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);
|
| D | array-prototype-unshift.js | 52 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);
|
| D | array-prototype-join.js | 34 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);
|
| D | array-prototype-pop.js | 36 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);
|
| D | array-prototype-reverse.js | 25 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);
|
| D | array-prototype-shift.js | 36 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);
|
| D | error.js | 78 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);
|
| D | array-prototype-splice.js | 157 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);
|
| D | array-prototype-tostring.js | 41 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);
|
| D | array-prototype-foreach.js | 26 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);
|
| D | array-prototype-some.js | 41 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);
|
| D | array-prototype-every.js | 41 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);
|
| D | string-prototype-concat.js | 53 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);
|
| D | function-prototype-apply.js | 54 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);
|
| D | array-prototype-filter.js | 55 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);
|
| D | string-prototype-match.js | 82 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);
|
| D | array-prototype-lastindexof.js | 51 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);
|
| D | array-prototype-indexof.js | 68 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);
|
| D | regression-test-issue-316.js | 17 v_1(ReferenceError); 26 v_1(ReferenceError); 35 v_1(ReferenceError);
|
| D | array-prototype-concat.js | 67 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);
|
| D | array-prototype-map.js | 73 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);
|
| D | regression-test-issue-2914.js | 33 …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/ |
| D | dataview.js | 44 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);
|
| D | symbol-unscopables.js | 41 assert(e instanceof ReferenceError); 50 assert(e instanceof ReferenceError); 57 assert(e instanceof ReferenceError); 69 assert(e instanceof ReferenceError);
|
12345678