Reviewers: Michael Starzinger,
Description:
Regression test for crbug 517455
Was fixed by
https://chromium.googlesource.com/v8/v8/+/826f8da55fb868a365d047a4a653eb8ff2bfc14e
[email protected]
BUG=517455
LOG=N
Please review this at https://codereview.chromium.org/1280953002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+3, -4 lines):
A + test/mjsunit/harmony/regress/regress-517455.js
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({})
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.