Lines Matching refs:constructor

31     delete String.prototype.constructor;
66 function checkGet(x, constructor)
69 Object.defineProperty(constructor.prototype, "foo", { get: function() { checkOkay = typeof this === 'object'; }, configurable: true });
71 delete constructor.prototype.foo;
75 function checkSet(x, constructor)
78 Object.defineProperty(constructor.prototype, "foo", { set: function() { checkOkay = typeof this === 'object'; }, configurable: true });
80 delete constructor.prototype.foo;
84 function checkGetStrict(x, constructor)
87 Object.defineProperty(constructor.prototype, "foo", { get: function() { "use strict"; checkOkay = typeof this !== 'object'; }, configurable: true });
89 delete constructor.prototype.foo;
93 function checkSetStrict(x, constructor)
96 Object.defineProperty(constructor.prototype, "foo", { set: function() { "use strict"; checkOkay = typeof this !== 'object'; }, configurable: true });
98 delete constructor.prototype.foo;
115 function checkRead(x, constructor)
120 function checkWrite(x, constructor)
126 function checkReadStrict(x, constructor)
132 function checkWriteStrict(x, constructor)
152 function checkNumericGet(x, constructor)
155 Object.defineProperty(constructor.prototype, 42, { get: function() { checkOkay = typeof this === 'object'; }, configurable: true });
157 delete constructor.prototype[42];
161 function checkNumericSet(x, constructor)
164 Object.defineProperty(constructor.prototype, 42, { set: function() { checkOkay = typeof this === 'object'; }, configurable: true });
166 delete constructor.prototype[42];
170 function checkNumericGetStrict(x, constructor)
173 Object.defineProperty(constructor.prototype, 42, { get: function() { "use strict"; checkOkay = typeof this !== 'object'; }, configurable: true });
175 delete constructor.prototype[42];
179 function checkNumericSetStrict(x, constructor)
182 Object.defineProperty(constructor.prototype, 42, { set: function() { "use strict"; checkOkay = typeof this !== 'object'; }, configurable: true });
184 delete constructor.prototype[42];
201 function checkNumericRead(x, constructor)
206 function checkNumericWrite(x, constructor)
212 function checkNumericReadStrict(x, constructor)
218 function checkNumericWriteStrict(x, constructor)