Sha256: 219a626aa9909c3230ee7c6236c0ff3731512c51ea0341942b30e567910ac0b9

Contents?: true

Size: 237 Bytes

Versions: 5

Compression:

Stored size: 237 Bytes

Contents

'use strict';
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);

Version data entries

5 entries across 4 versions & 1 rubygems

Version Path
node-compiler-0.9.1 vendor/node/test/parallel/test-vm-create-context-circular-reference.js
node-compiler-0.9.0 vendor/node-v7.2.1/test/parallel/test-vm-create-context-circular-reference.js
node-compiler-0.8.0 vendor/node-v7.2.0/test/parallel/test-vm-create-context-circular-reference.js
node-compiler-0.7.0 vendor/node-v6.9.1/test/parallel/test-vm-create-context-circular-reference.js
node-compiler-0.7.0 vendor/node-v7.1.0/test/parallel/test-vm-create-context-circular-reference.js