Index: test/mjsunit/regress/regress-crbug-505907.js |
diff --git a/test/mjsunit/regress/regress-449070.js b/test/mjsunit/regress/regress-crbug-505907.js |
similarity index 53% |
copy from test/mjsunit/regress/regress-449070.js |
copy to test/mjsunit/regress/regress-crbug-505907.js |
index 7a0f0a838cdd25817ab6a2d8f63c1ef9fbe6e526..761261eca0f75e0ec2bcb8b63ae857cb7a3e5b68 100644 |
--- a/test/mjsunit/regress/regress-449070.js |
+++ b/test/mjsunit/regress/regress-crbug-505907.js |
@@ -1,10 +1,12 @@ |
// 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: --allow-natives-syntax |
+ |
+// Flags: --harmony-proxies |
try { |
- %NormalizeElements(this); |
+ var p = Proxy.create({ getPropertyDescriptor: function() { return [] } }); |
+ var o = Object.create(p); |
+ with (o) { unresolved_name() } |
} catch(e) { |
} |