Index: test/mjsunit/readonly.js |
diff --git a/test/mjsunit/readonly.js b/test/mjsunit/readonly.js |
index 084e9ffe23d54264314b63ad1dab84270341803a..8d014dcdc96fff26dea31cae624170415e306b2e 100644 |
--- a/test/mjsunit/readonly.js |
+++ b/test/mjsunit/readonly.js |
@@ -125,7 +125,7 @@ var global = this; |
function ReadonlyByProxy(o, name) { |
if (!global.Proxy) return ReadonlyByFreeze(o, name); // Dummy. |
- var p = global.Proxy.create({ |
+ var p = new global.Proxy({}, { |
getPropertyDescriptor: function() { |
return {value: -46, writable: false, configurable: true}; |
} |