1. Fix a bug on ArrayObject::defineOwnProperty for "length" property

2. Changed the order of evaluting parameters in Date.prototype.set* series

Signed-off-by: Saebom Kim sae-bom.kim@samsung.com
This commit is contained in:
Saebom Kim 2017-03-23 14:41:55 +09:00
commit add7a8266d
3 changed files with 13 additions and 13 deletions

View file

@ -130,7 +130,7 @@ bool ArrayObject::defineOwnProperty(ExecutionState& state, const ObjectPropertyN
}
if (!newWritable) {
ObjectPropertyDescriptor tmpDesc(ObjectPropertyDescriptor::NonWritablePresent);
ObjectPropertyDescriptor tmpDesc(ObjectPropertyDescriptor::NonWritablePresent, true);
Object::defineOwnProperty(state, P, tmpDesc);
}