Home | History | Annotate | Download | only in src

Lines Matching refs:desc

90   var desc = this.getPropertyDescriptor(name)
91 if (IS_UNDEFINED(desc)) { return desc }
92 if ('value' in desc) {
93 return desc.value
95 if (IS_UNDEFINED(desc.get)) { return desc.get }
96 // The proposal says: desc.get.call(receiver)
97 return %_CallFunction(receiver, desc.get)
102 var desc = this.getOwnPropertyDescriptor(name)
103 if (desc) {
104 if ('writable' in desc) {
105 if (desc.writable) {
106 desc.value = val
107 this.defineProperty(name, desc)
113 if (desc.set) {
114 // The proposal says: desc.set.call(receiver, val)
115 %_CallFunction(receiver, val, desc.set)
122 desc = this.getPropertyDescriptor(name)
123 if (desc) {
124 if ('writable' in desc) {
125 if (desc.writable) {
131 if (desc.set) {
132 // The proposal says: desc.set.call(receiver, val)
133 %_CallFunction(receiver, val, desc.set)
161 var desc = this.getOwnPropertyDescriptor(TO_STRING_INLINE(name))
162 if (!IS_UNDEFINED(desc) && desc.enumerable) {
174 var desc = this.getPropertyDescriptor(TO_STRING_INLINE(name))
175 if (!IS_UNDEFINED(desc) && desc.enumerable) {