Index: test/mjsunit/regress/regress-crbug-506956.js |
diff --git a/test/mjsunit/regress/regress-crbug-506956.js b/test/mjsunit/regress/regress-crbug-506956.js |
index 5862ddb296747f4622778a82db65ae2eda1e58c1..73eb2f2220b6dbff80ea93bf35af4d1af1699508 100644 |
--- a/test/mjsunit/regress/regress-crbug-506956.js |
+++ b/test/mjsunit/regress/regress-crbug-506956.js |
@@ -5,7 +5,9 @@ |
// Flags: --harmony-proxies |
try { |
- var p = Proxy.create({ getPropertyDescriptor: function() { throw "boom"; } }); |
+ var p = new Proxy({}, { |
+ getPropertyDescriptor: function() { throw "boom"; } |
+ }); |
var o = Object.create(p); |
with (o) { delete unresolved_name; } |
} catch(e) { |