Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

TypeError: Cannot convert object to primitive value #4

Closed
amasad opened this Issue Dec 27, 2013 · 0 comments

Comments

Projects
None yet
1 participant
Contributor

amasad commented Dec 27, 2013

When running runInContext twice it will try to copy objects circular objects like window and will throw an error. Program should be smarter about which it properties it copies back from window to context after eval.

@amasad amasad added a commit to amasad/vm-browserify that referenced this issue Dec 27, 2013

@amasad amasad Avoid copying circular objects from the `window` object to the contex…
…t object after each eval.


Fixes #4
ae74986

@substack substack closed this in 9d5c7c6 Dec 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment