Index: test/mjsunit/regress/regress-crbug-491943.js |
diff --git a/test/mjsunit/regress/regress-crbug-487289.js b/test/mjsunit/regress/regress-crbug-491943.js |
similarity index 83% |
copy from test/mjsunit/regress/regress-crbug-487289.js |
copy to test/mjsunit/regress/regress-crbug-491943.js |
index dbfb4041ca93465fcf579e2af52f6fd9f41d5481..c87d1301b7de16b148ad5a83cfff7dd28c55ce41 100644 |
--- a/test/mjsunit/regress/regress-crbug-487289.js |
+++ b/test/mjsunit/regress/regress-crbug-491943.js |
@@ -12,7 +12,12 @@ Debug.setListener(function(event, exec_state, event_data, data) { |
receiver = exec_state.frame(0).evaluate('this').value(); |
}); |
-function f() { debugger; } |
+ |
+function f() { |
+ var context_local = 1; |
+ (function() { return context_local; })(); |
+ debugger; |
+} |
var expected = {}; |
f.call(expected); |