Skip to content
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

Fix FromPropertyDescriptor function #70

Closed
kkristof opened this issue May 15, 2015 · 2 comments
Closed

Fix FromPropertyDescriptor function #70

kkristof opened this issue May 15, 2015 · 2 comments
Labels
bug Undesired behaviour ecma core Related to core ECMA functionality

Comments

@kkristof
Copy link
Contributor

In the function ecma_op_from_property_descriptor the forth section is unreachable.
FromPropertyDescriptor 8.10.4

The function is needed by the Object.getOwnPropertyDescriptor builtin function 15.2.3.4.

@kkristof kkristof added bug Undesired behaviour ecma core Related to core ECMA functionality labels May 15, 2015
@kkristof kkristof added this to the Core ECMA features milestone May 15, 2015
@ruben-ayrapetyan
Copy link
Contributor

Blocks #34

ruben-ayrapetyan added a commit that referenced this issue May 15, 2015
…ut property descriptor was implemented incorrectly).

Related issue: #70

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
ruben-ayrapetyan added a commit that referenced this issue May 15, 2015
…ut property descriptor was implemented incorrectly).

Related issue: #70

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
ruben-ayrapetyan added a commit that referenced this issue May 15, 2015
…ut property descriptor was implemented incorrectly).

Related issue: #70

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
@ruben-ayrapetyan
Copy link
Contributor

Fixed. 5c76b3f.
The condition, checking type of property descriptor was incorrect: instead of checking the type of input descriptor, the type of locally created descriptor was checked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behaviour ecma core Related to core ECMA functionality
Projects
None yet
Development

No branches or pull requests

2 participants