vm: share security token between contexts
authorFedor Indutny <fedor.indutny@gmail.com>
Tue, 18 Mar 2014 10:03:22 +0000 (14:03 +0400)
committerFedor Indutny <fedor.indutny@gmail.com>
Fri, 21 Mar 2014 12:16:58 +0000 (16:16 +0400)
commitb76a1ff940568195c032ba48dc0d2ee8f198bb86
tree65a45f383aba5865f52c9e2c41b7bc526920ea50
parentb84ebfe8860edfb83bff945c30d41e2d9c32dfca
vm: share security token between contexts

By default, each `v8::Context` has a different Security Token, which
prevents access to one context from another.

fix #7140
src/node_contextify.cc
test/simple/test-vm-cross-context.js [new file with mode: 0644]