Index: test/mjsunit/harmony/proxies-ownkeys.js |
diff --git a/test/mjsunit/harmony/proxies-ownkeys.js b/test/mjsunit/harmony/proxies-ownkeys.js |
index de913671d4ea28543fff14b00646576290652cf8..6a7ae64d78b9602cf8bf579578ba4d98b46b4f6b 100644 |
--- a/test/mjsunit/harmony/proxies-ownkeys.js |
+++ b/test/mjsunit/harmony/proxies-ownkeys.js |
@@ -74,7 +74,7 @@ keys = ["nonconf"]; |
assertEquals(keys, Reflect.ownKeys(proxy)); |
// Step 19a: The trap result must all keys of a non-extensible target. |
-Object.freeze(target); |
+Object.preventExtensions(target); |
assertThrows("Reflect.ownKeys(proxy)", TypeError); |
keys = ["nonconf", "target_one"]; |
assertEquals(keys, Reflect.ownKeys(proxy)); |