Lines Matching refs:getter
34 function getter() { return 111; } function
42 dp(obj1, "alpha", { get: getter });
44 dp(obj2, "alpha", { get: getter });
49 obj1.__defineGetter__("bravo", getter);
50 assertEquals(getter, obj1.__lookupGetter__("bravo"));
52 obj2.__defineGetter__("bravo", getter);
53 assertEquals(getter, obj2.__lookupGetter__("bravo"));
74 dp(obj1, "foxtrot", { get: getter, set: setter });
76 dp(obj2, "foxtrot", { get: getter, set: setter });
81 dp(obj1, "golf", { get: getter, configurable: true });
84 dp(obj2, "golf", { get: getter, configurable: true });
90 obj1.__defineGetter__("hotel", getter);
93 obj2.__defineGetter__("hotel", getter);
99 dp(obj1, "india", { get: getter, configurable: true, enumerable: true });
100 assertEquals(getter, gop(obj1, "india").get);
104 assertEquals(getter, gop(obj1, "india").get);
129 dp(obj1, "kilo", { get: getter });
132 assertEquals(getter, gop(obj1, "kilo").get);
138 dp(obj1, "lima", { get: getter, set: setter });
140 dp(obj2, "lima", { get: getter, set: anotherSetter });
171 dp(obj1, "papa", { get: getter, configurable: true });
172 dp(obj1, "papa", { get: getter, set: setter, configurable: true });
173 assertEquals(getter, gop(obj1, "papa").get);
180 dp(obj1, "quebec", { get: getter });