Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(879)

Unified Diff: test/mjsunit/harmony/regress/regress-517455.js

Issue 1280953002: Regression test for crbug 517455 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/regress/regress-517455.js
diff --git a/test/mjsunit/es6/regress/regress-cr512574.js b/test/mjsunit/harmony/regress/regress-517455.js
similarity index 82%
copy from test/mjsunit/es6/regress/regress-cr512574.js
copy to test/mjsunit/harmony/regress/regress-517455.js
index 2c10e193156550e1f23d35a070027054ba652eb8..a59fa181b7aac448df06f2ec0b5c90f32c048981 100644
--- a/test/mjsunit/es6/regress/regress-cr512574.js
+++ b/test/mjsunit/harmony/regress/regress-517455.js
@@ -1,9 +1,8 @@
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
+//
// Flags: --harmony-destructuring
-function f({}) {
- for (var v in []);
-};
+function f({x = ""}) { eval(x) }
+f({})
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698