mirror of https://github.com/lukechilds/node.git
Jakub Lekstan
14 years ago
committed by
Ryan Dahl
2 changed files with 13 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||
var common = require('../common'); |
|||
var assert = require('assert'); |
|||
var vm = require('vm'); |
|||
|
|||
var sbx = {}; |
|||
sbx.window = sbx; |
|||
|
|||
sbx = vm.createContext(sbx); |
|||
|
|||
sbx.test = 123; |
|||
|
|||
assert.equal(sbx.window.window.window.window.window.test, 123); |
Loading…
Reference in new issue