-
Notifications
You must be signed in to change notification settings - Fork 686
Add support test262 $262 global object support #4329
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
Conversation
acba95e to
567d900
Compare
e351b40 to
bf2236f
Compare
|
@galpeter Thank your for the review! I updated the pull request based on your review. |
bf2236f to
bffc911
Compare
bffc911 to
485c65a
Compare
485c65a to
87031e0
Compare
rerobika
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Please rebase the PR. |
87031e0 to
54147a5
Compare
54147a5 to
041d3ec
Compare
|
Please close already resolved reviews with "Resolve conversation" button. |
jerry-main/main-utils.c
Outdated
| jerry_release_value (result_val); | ||
| } /* main_register_global_function */ | ||
|
|
||
| #if defined (JERRY_TEST262) && (JERRY_TEST262 == 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about doing this without a define? This is a simple test program, I don't see any issue to always have this comannd line feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This question still stands.
rerobika
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after this minor change
jerry-main/CMakeLists.txt
Outdated
| install(TARGETS ${JERRY_NAME} DESTINATION bin) | ||
| endmacro() | ||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this new line.
Few test-cases in test262 uses a $262 object to run a few method (for example detachedArrayBuffer) JerryScript-DCO-1.0-Signed-off-by: bence gabor kis [email protected]
zherczeg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Few test-cases in test262 uses a $262 object to run a few method (for example detachedArrayBuffer)
JerryScript-DCO-1.0-Signed-off-by: bence gabor kis [email protected]