Index: test/mjsunit/regress/regress-crbug-505907.js |
diff --git a/test/mjsunit/regress/regress-crbug-505907.js b/test/mjsunit/regress/regress-crbug-505907.js |
index 761261eca0f75e0ec2bcb8b63ae857cb7a3e5b68..c8d4bac9be5249af547ea3fcf58b8ef3cf8612ca 100644 |
--- a/test/mjsunit/regress/regress-crbug-505907.js |
+++ b/test/mjsunit/regress/regress-crbug-505907.js |
@@ -5,7 +5,9 @@ |
// Flags: --harmony-proxies |
try { |
- var p = Proxy.create({ getPropertyDescriptor: function() { return [] } }); |
+ var p = new Proxy({}, { |
+ getPropertyDescriptor: function() { return [] } |
+ }); |
var o = Object.create(p); |
with (o) { unresolved_name() } |
} catch(e) { |