before *test/message/undefined_reference_in_new_context.js:10 script.runInNewContext(); ^ ReferenceError: foo is not defined at evalmachine.:* at Object. (*test/message/undefined_reference_in_new_context.js:*) at Module._compile (module:*) at Module._loadScriptSync (module:*) at Module.loadSync (module:*) at Object.runMain (module:*) at node.js:*