Lines Matching defs:set
86 set: setter1,
92 set: setter2,
98 set: setter3,
107 var accessorDefault = {set: function(){} };
124 // foo should be undefined as it has no get, set or value
134 assertEquals(desc.set, undefined);
155 assertEquals(desc.set, accessorConfigurable.set);
170 assertEquals(desc.set, accessorNoConfigurable.set);
193 assertEquals(desc.set, accessorNoConfigurable.set);
208 assertEquals(desc.set, accessorOnlySet.set);
221 assertEquals(desc.set, accessorOnlySet.set);
235 assertEquals(desc.set, accessorOnlySet.set);
253 assertEquals(desc.set, undefined);
270 assertEquals(desc.set, undefined);
285 assertEquals(desc.set, undefined);
303 assertEquals(desc.set, undefined);
321 assertEquals(desc.set, undefined);
331 assertEquals(desc.set, accessorConfigurable.set);
348 assertEquals(desc.set, accessorConfigurable.set);
364 assertEquals(desc.set, undefined);
370 function set(x){this.x=x};
374 obj3.__defineSetter__("foo", set);
381 assertEquals(desc.set, set);
395 assertEquals(desc.set, accessorNoConfigurable.set);
403 obj3.__defineSetter__("bar", set);
415 assertEquals(desc.set, undefined);
429 assertEquals(desc.set, accessorConfigurable.set);
475 // First, test that we are actually allowed to set the accessor if all
483 set: setter1,
493 set: setter2,
503 set: setter2,
513 set: setter2,
523 set: setter2,
532 assertEquals(desc.set, setter2);
849 assertFalse(resultDesc.hasOwnProperty('set'));
852 assertEquals(resultDesc.set, actualDesc.set);
917 { get: getter1, set: undefined, enumerable : false, configurable : false });
919 // redefine of get/set only property with generic descriptor
922 { get: getter1, set: setter1, enumerable: true, configurable: true }));
925 { get: getter1, set: setter1, enumerable : false, configurable : false });
927 // redefine of set only property with generic descriptor
930 { set : setter1, enumerable: true, configurable: true }));
933 { get: undefined, set: setter1, enumerable : false, configurable : false });
1018 Reflect.defineProperty(obj1, "romeo", { set: setter, configurable: true }));
1028 assertTrue(Reflect.defineProperty(obj1, "romeo", { set: anotherSetter }));
1044 { get: getter, set: setter, configurable: true }));
1055 { get: getter, set: undefined, configurable: true }));