Index: test/mjsunit/harmony/proxies-example-membrane.js |
diff --git a/test/mjsunit/harmony/proxies-example-membrane.js b/test/mjsunit/harmony/proxies-example-membrane.js |
index c6e7f9f9b18898b57800d05052347cab2c51e3d7..9e2228a638d24338fb046d583b0d499e27179c18 100644 |
--- a/test/mjsunit/harmony/proxies-example-membrane.js |
+++ b/test/mjsunit/harmony/proxies-example-membrane.js |
@@ -285,8 +285,8 @@ assertEquals(4, wh4.q); |
// http://wiki.ecmascript.org/doku.php?id=harmony:proxies#an_identity-preserving_membrane |
function createMembrane(wetTarget) { |
- var wet2dry = WeakMap(); |
- var dry2wet = WeakMap(); |
+ var wet2dry = new WeakMap(); |
+ var dry2wet = new WeakMap(); |
function asDry(obj) { |
registerObject(obj) |