Lines Matching refs:global
6 // These assertions check that we can set new keys to the global context,
12 const global = vm.runInContext('this', vm.createContext());
38 runAssertions(global, 'toto', true, 1, 2, 3);
39 runAssertions(global, Symbol.for('toto'), true, 1, 2, 3);
40 runAssertions(global, 'tutu', true, fun1, fun2, fun3);
41 runAssertions(global, Symbol.for('tutu'), true, fun1, fun2, fun3);
42 runAssertions(global, 'tyty', true, fun1, 2, 3);
43 runAssertions(global, Symbol.for('tyty'), true, fun1, 2, 3);
46 runAssertions(global, 'titi', false, 1, 2, 3);
47 runAssertions(global, Symbol.for('titi'), false, 1, 2, 3);
48 runAssertions(global, 'tata', false, fun1, fun2, fun3);
49 runAssertions(global, Symbol.for('tata'), false, fun1, fun2, fun3);
50 runAssertions(global, 'tztz', false, fun1, 2, 3);
51 runAssertions(global, Symbol.for('tztz'), false, fun1, 2, 3);