-
Notifications
You must be signed in to change notification settings - Fork 687
Ensure that Symbol.toStringTag property is copied to buffer as a cesu8 string #2772
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
752afe7 to
7842275
Compare
| /* Copy to buffer the #@@toStringTag# string */ | ||
| buffer_ptr += ecma_string_copy_to_utf8_buffer (tag_str_p, buffer_ptr, | ||
| buffer_ptr += ecma_string_copy_to_cesu8_buffer (tag_str_p, buffer_ptr, | ||
| (lit_utf8_size_t) ((str_buffer + buffer_size) - buffer_ptr)); |
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.
wrong indentation
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.
Good catch!
7842275 to
cfc51bf
Compare
LaszloLango
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
dbatyai
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.
Please fix the commit message to refer to the correct issue. (2759->2769)
…8 string This path fixes jerryscript-project#2769. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
|
@dbatyai Thanks for the review I fixed it. |
dbatyai
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
This patch fixes #2769.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu