Lines Matching refs:setter
35 function setter(x) { print(222); } function
58 dp(obj1, "charlie", { set: setter });
60 dp(obj2, "charlie", { set: setter });
65 obj1.__defineSetter__("delta", setter);
66 assertEquals(setter, obj1.__lookupSetter__("delta"));
68 obj2.__defineSetter__("delta", setter);
69 assertEquals(setter, obj2.__lookupSetter__("delta"));
74 dp(obj1, "foxtrot", { get: getter, set: setter });
76 dp(obj2, "foxtrot", { get: getter, set: setter });
82 dp(obj1, "golf", { set: setter, configurable: true });
85 dp(obj2, "golf", { set: setter, configurable: true });
91 obj1.__defineSetter__("hotel", setter);
94 obj2.__defineSetter__("hotel", setter);
110 dp(obj1, "juliet", { set: setter, configurable: true, enumerable: false });
111 assertEquals(setter, gop(obj1, "juliet").set);
115 dp(obj2, "juliet", { set: setter, configurable: true, enumerable: false });
116 assertEquals(setter, gop(obj2, "juliet").set);
119 dp(obj1, "juliet", { set: setter, configurable: false, enumerable: true });
120 assertEquals(setter, gop(obj1, "juliet").set);
123 assertEquals(setter, gop(obj2, "juliet").set);
138 dp(obj1, "lima", { get: getter, set: setter });
141 assertEquals(setter, gop(obj1, "lima").set);
166 dp(obj1, "oscar", { set: setter });
167 assertEquals(setter, gop(obj1, "oscar").set);
172 dp(obj1, "papa", { get: getter, set: setter, configurable: true });
174 assertEquals(setter, gop(obj1, "papa").set);
188 dp(obj1, "romeo", { set: setter });