-
Notifications
You must be signed in to change notification settings - Fork 850
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
Fixed ScriptRuntime.toPrimitive() and use it for toXXX() (taken from #1611 done by @tonygermano) #1674
Conversation
@gbrail will rebase my P&R branch after this is merged because i have to sort out some conflicts regarding to symbol handling |
I did a quick review and this looks good to me |
8d3f07d
to
40d0ce5
Compare
fix s stupid bug in the toPrimitive() implementation introduced in mozilla#1661
40d0ce5
to
3ed7160
Compare
Will this one resolve #1608? |
Its already solved on head - see my comment in the issue and the related pr. |
The code looks good to me and it moves us closer enough to our goal so that I think we should merge it -- LMK if you all have any objections. |
Thanks, new one will arrive soon. |
This is another carve out from #1661.
It contains
This fixes again a bunch of Test262 cases and should be still backward compatible.
I left the single steps as single commits to (hopefully) make the review simpler. But I think we should squash this on merge.
@gbrail @tonygermano @rPraml @p-bakker please have a look, it was a bit hard to do the backward compatibility in toPrimitive() - i'm only 99% sure that all this is correct...