Changeset 104784 in webkit for trunk/Source/JavaScriptCore/runtime/JSFunction.cpp
- Timestamp:
- Jan 11, 2012, 7:53:22 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSFunction.cpp
r103958 r104784 217 217 bool result = Base::getOwnPropertySlot(thisObject, exec, propertyName, slot); 218 218 if (!result) { 219 thisObject->initializeGetterSetterProperty(exec, propertyName, thisObject->globalObject()->throwTypeErrorGetterSetter(exec), DontDelete | DontEnum | Getter | Setter);219 thisObject->initializeGetterSetterProperty(exec, propertyName, thisObject->globalObject()->throwTypeErrorGetterSetter(exec), DontDelete | DontEnum | Accessor); 220 220 result = Base::getOwnPropertySlot(thisObject, exec, propertyName, slot); 221 221 ASSERT(result); … … 236 236 bool result = Base::getOwnPropertySlot(thisObject, exec, propertyName, slot); 237 237 if (!result) { 238 thisObject->initializeGetterSetterProperty(exec, propertyName, thisObject->globalObject()->throwTypeErrorGetterSetter(exec), DontDelete | DontEnum | Getter | Setter);238 thisObject->initializeGetterSetterProperty(exec, propertyName, thisObject->globalObject()->throwTypeErrorGetterSetter(exec), DontDelete | DontEnum | Accessor); 239 239 result = Base::getOwnPropertySlot(thisObject, exec, propertyName, slot); 240 240 ASSERT(result); … … 265 265 bool result = Base::getOwnPropertyDescriptor(thisObject, exec, propertyName, descriptor); 266 266 if (!result) { 267 thisObject->initializeGetterSetterProperty(exec, propertyName, thisObject->globalObject()->throwTypeErrorGetterSetter(exec), DontDelete | DontEnum | Getter | Setter);267 thisObject->initializeGetterSetterProperty(exec, propertyName, thisObject->globalObject()->throwTypeErrorGetterSetter(exec), DontDelete | DontEnum | Accessor); 268 268 result = Base::getOwnPropertyDescriptor(thisObject, exec, propertyName, descriptor); 269 269 ASSERT(result); … … 284 284 bool result = Base::getOwnPropertyDescriptor(thisObject, exec, propertyName, descriptor); 285 285 if (!result) { 286 thisObject->initializeGetterSetterProperty(exec, propertyName, thisObject->globalObject()->throwTypeErrorGetterSetter(exec), DontDelete | DontEnum | Getter | Setter);286 thisObject->initializeGetterSetterProperty(exec, propertyName, thisObject->globalObject()->throwTypeErrorGetterSetter(exec), DontDelete | DontEnum | Accessor); 287 287 result = Base::getOwnPropertyDescriptor(thisObject, exec, propertyName, descriptor); 288 288 ASSERT(result);
Note:
See TracChangeset
for help on using the changeset viewer.