Index: test/mjsunit/harmony/proxies-define-property.js |
diff --git a/test/mjsunit/harmony/proxies-define-property.js b/test/mjsunit/harmony/proxies-define-property.js |
index 78ab85e8a4c3ff8a0fc35fa2a1eee8472e231262..f302db2621aa75e45c1533d2fd4169b2af9a1761 100644 |
--- a/test/mjsunit/harmony/proxies-define-property.js |
+++ b/test/mjsunit/harmony/proxies-define-property.js |
@@ -50,7 +50,7 @@ assertThrows("Object.defineProperty(proxy, 'foo', desc)", TypeError); |
// Step 15a: Trap returns true for adding a property to a non-extensible target. |
handler.defineProperty = function(t, n, d) { return true; } |
-Object.freeze(target); |
+Object.preventExtensions(target); |
assertThrows("Object.defineProperty(proxy, 'foo', desc)", TypeError); |
// Step 15b: Trap returns true for adding a non-configurable property. |