mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Rename PropertyName into ObjectStructurePropertyName
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
c40f0c792c
commit
0a9ec4f9eb
19 changed files with 113 additions and 134 deletions
|
|
@ -108,7 +108,7 @@ bool ArrayObject::defineOwnProperty(ExecutionState& state, const ObjectPropertyN
|
|||
return setArrayLength(state, idx + 1);
|
||||
}
|
||||
return true;
|
||||
} else if (P.toPropertyName(state).equals(state.context()->staticStrings().length.string())) {
|
||||
} else if (P.toObjectStructurePropertyName(state).equals(state.context()->staticStrings().length.string())) {
|
||||
// See 3.a ~ 3.n on http://www.ecma-international.org/ecma-262/5.1/#sec-15.4.5.1
|
||||
if (desc.isValuePresent()) {
|
||||
ObjectPropertyDescriptor newLenDesc(desc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue