Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Node issue #1140: Fix incorrect dispatch of vm.runInContext for argument "filename" #1141

Closed
wants to merge 3 commits into from

Conversation

amb26
Copy link

@amb26 amb26 commented Jun 2, 2011

This resolves issue at
#1140

@ry
Copy link

ry commented Jun 3, 2011

Is there a test we can do to show this broken?

@amb26
Copy link
Author

amb26 commented Jun 4, 2011

Hi ry - I have added a test case for this issue as well as updating the documentation section to the best of my understanding - please give it a read over. As far as I can see, there is some redundancy in this API area and it is not quite clear which are the blessed methods that will be supported going forwards. For example, all of the runInXxxx methods are available both as vm.runInXxxx as well as vm.Script.runInXxxx, and I notice that an alternative means of generating a fresh context object is available as new process.binding('evals').Context(). Could you confirm that the preferred way of accessing all of these script primitives is going to be through the vm.runInXxxx style? Cheers

@amb26
Copy link
Author

amb26 commented Aug 15, 2011

@ry - would you like to see anything else on this issue before you would be happy to commit it?
Cheers

@bnoordhuis
Copy link
Member

LGTM otherwise. Last point of order: can you sign the CLA?

@amb26
Copy link
Author

amb26 commented Aug 16, 2011

Hi bnoordhuis - CLA signed, and I have updated my pull as per comments in this thread - thanks for the review. Let me know if there is anything more I can do

@bnoordhuis
Copy link
Member

Merged in c05936c. Thanks, Antranig.

@bnoordhuis bnoordhuis closed this Aug 16, 2011
@amb26
Copy link
Author

amb26 commented Aug 17, 2011

Many thanks, Ben, your attention is much appreciated :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants