-
-
Notifications
You must be signed in to change notification settings - Fork 35.2k
Closed
Labels
questionIssues that look for answers.Issues that look for answers.vmIssues and PRs related to the vm subsystem.Issues and PRs related to the vm subsystem.
Description
In Node 9.3.0
var c = vm.createContext()
c.A = "A"
c.c = c
c.vm = vm
vm.runInContext("A", c)
// 'A'
vm.runInContext("c.A", c)
// 'A'
vm.runInContext("vm.runInContext('A', c)", c)
// Throws TypeError: sandbox argument must have been converted to a context.
vm.runInContext("vm.runInContext('A', vm.createContext(c))", c)
// Throws ReferenceError: A is not definedReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionIssues that look for answers.Issues that look for answers.vmIssues and PRs related to the vm subsystem.Issues and PRs related to the vm subsystem.