Chromium Code Reviews| Index: test/mjsunit/strong/use-strong.js |
| diff --git a/test/mjsunit/strong/use-strong.js b/test/mjsunit/strong/use-strong.js |
| index bbda2662c2d3e3c13a44bfec8f9b641b5450f9bd..127dc35e2afe53e9c70d979a1b22710f55db4609 100644 |
| --- a/test/mjsunit/strong/use-strong.js |
| +++ b/test/mjsunit/strong/use-strong.js |
| @@ -10,7 +10,6 @@ |
| assertThrows("function f() { 'use strong'; 0 == 0 }", SyntaxError); |
| assertThrows("'use strong'; function f() { 0 == 0 }", SyntaxError); |
| assertThrows("'use strong'; function f() { function g() { 0 == 0 } }", SyntaxError); |
| - assertThrows("'use strong'; eval('function f() { 0 == 0 }')", SyntaxError); |
|
arv (Not doing code reviews)
2015/04/13 14:14:06
Use a closure
conradw
2015/04/13 14:36:33
This test was checking propagation of strong mode
|
| assertTrue(eval("function f() { 'use strong' } 0 == 0")); |
| assertTrue(eval("eval('\\\'use strong\\\''); 0 == 0")); |
| })(); |