Lines Matching full:eval
28 // Test that global eval calls of strict code (independent from whether being
32 var evil = eval;
34 // Test global direct strict eval in strict script.
37 eval('"use strict"; var no_touch = 1;');
40 // Test global indirect strict eval in strict script.
46 // Test global direct non-strict eval in strict script.
49 eval('var no_touch = 3;');
52 // Test global indirect non-strict eval in strict script.
58 // Test non-global direct strict eval in strict script.
63 eval('"use strict"; var no_touch = 5;');
68 // Test non-global indirect strict eval in strict script.
78 // Test non-global direct non-strict eval in strict script.
83 eval('var no_touch = 7;');
88 // Test non-global indirect non-strict eval in strict script.
98 // Test non-global direct strict eval in strict script.
104 eval('"use strict"; var no_touch = 9;');
109 // Test non-global indirect strict eval in strict script.
120 // Test non-global direct non-strict eval in strict script.
126 eval('var no_touch = 11;');
131 // Test non-global indirect non-strict eval in strict script.