-
Notifications
You must be signed in to change notification settings - Fork 122
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 Error.stackTraceLimit = Infinity #861
base: master
Are you sure you want to change the base?
Conversation
e458251
to
d80d0f1
Compare
It seems that this works on mac but fails on Linux and Windows. |
Yes it seems like you'll have to go back to explicitly testing for infinity. |
038177a
to
340a457
Compare
@saghul can you start the tests again |
Hey @saghul I didn't look closely at your diff in review, fixed now and all tests now pass. |
On a second thought, if we want to 100% mimic how v8 behaves we should store the JSValue and extract it when necessary. Right now if you set it to -Infinity you'll get back 0, whereas Chrome gets you back the same value you set. Thoughts @bnoordhuis ? |
Closes #858