Skip to content

Implement Object.defineProperties function #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Implement Object.defineProperties function #37

wants to merge 2 commits into from

Conversation

kkristof
Copy link
Contributor

JerryScript-DCO-1.0-Signed-off-by: Kristof Kosztyo kkosztyo.u-szeged@partner.samsung.com

JerryScript-DCO-1.0-Signed-off-by: Kristof Kosztyo kkosztyo.u-szeged@partner.samsung.com
@galpeter
Copy link
Contributor

lgtm

{
continue;
}
ecma_value_t val = ecma_get_named_data_property_value (property_p);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems that according to specification ecma_op_object_get should be used here.

Also, it isn't correct to call ecma_get_named_data_property_value for named accessor properties.
Please, use this bunch of code ecma-objects-general.cpp:135-157 as the reference, but modify this according to the specification.

…view.

JerryScript-DCO-1.0-Signed-off-by: Kristof Kosztyo kkosztyo.u-szeged@partner.samsung.com
@kkristof
Copy link
Contributor Author

Hi, I have updated the branch.

@egavrin
Copy link
Contributor

egavrin commented May 18, 2015

make push

@kkristof
Copy link
Contributor Author

merged 6b09e53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants