Index: test/mjsunit/this-dynamic-lookup.js |
diff --git a/test/mjsunit/harmony/regress/regress-4056.js b/test/mjsunit/this-dynamic-lookup.js |
similarity index 60% |
copy from test/mjsunit/harmony/regress/regress-4056.js |
copy to test/mjsunit/this-dynamic-lookup.js |
index d938df0be088185f1990e4b253c5d5c300c39f1f..c5fa7a2c79c7b50738b76fff4281686f8bd3b3bc 100644 |
--- a/test/mjsunit/harmony/regress/regress-4056.js |
+++ b/test/mjsunit/this-dynamic-lookup.js |
@@ -3,10 +3,8 @@ |
// found in the LICENSE file. |
// Flags: --harmony-arrow-functions |
+// NO HARNESS |
-function strictFunctionArrowEval(s) { |
- "use strict"; |
- return (()=>eval(s))(); |
-}; |
- |
-assertEquals(strictFunctionArrowEval("42"), 42) |
+var globalEval = eval; |
+globalEval("this; eval('42')"); |
+globalEval("eval('42'); this"); |