Chromium Code Reviews| Index: test/mjsunit/local-load-from-eval.js |
| =================================================================== |
| --- test/mjsunit/local-load-from-eval.js (revision 1317) |
| +++ test/mjsunit/local-load-from-eval.js (working copy) |
| @@ -34,4 +34,6 @@ |
| test("assertEquals(27, x);"); |
| test("(function() { assertEquals(27, x) })();"); |
| +test("(function() { var y = 42; eval('1'); assertEquals(42, y); })();"); |
| +test("(function() { var y = 42; eval('var y = 2'); assertEquals(2, y); })();"); |
|
Kasper Lund
2009/02/19 14:56:52
Maybe you should test that it works when introduci
|