Index: test/mjsunit/harmony/proxies-hash.js |
diff --git a/test/mjsunit/harmony/proxies-hash.js b/test/mjsunit/harmony/proxies-hash.js |
index 65d2d3c5646cdbb2188a439407f30ee536795a87..5cd1baa54785454ae242fd15d40d3c50a3d8113d 100644 |
--- a/test/mjsunit/harmony/proxies-hash.js |
+++ b/test/mjsunit/harmony/proxies-hash.js |
@@ -31,7 +31,7 @@ |
// Helper. |
function TestWithProxies(test, construct, handler) { |
- test(construct, handler, Proxy.create) |
+ test(construct, handler, function(h){ return new Proxy({},h)} ) |
Jakob Kummerow
2015/11/12 12:04:24
nit: spaces between '){', ',h', and ')}'
|
test(construct, handler, function(h) { |
return Proxy.createFunction(h, function() {}) |
}) |