mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
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:
parent
6873cb9a75
commit
add7a8266d
3 changed files with 13 additions and 13 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue