Sha256: 2711de2f143e9713daf8ef0f404d00accb137b1ebfbe3b83a3569f67bb7157c6

Contents?: true

Size: 233 Bytes

Versions: 5

Compression:

Stored size: 233 Bytes

Contents

'use strict';
require('../common');
var assert = require('assert');

var vm = require('vm');
var ctx = vm.createContext(global);

assert.doesNotThrow(function() {
  vm.runInContext('!function() { var x = console.log; }()', ctx);
});

Version data entries

5 entries across 4 versions & 1 rubygems

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