Index: src/js/v8natives.js |
diff --git a/src/js/v8natives.js b/src/js/v8natives.js |
index 34c35031b2601dd4c1ef614c877668d307502569..fa1d72a23786a73fed398bfa334802d797972b40 100644 |
--- a/src/js/v8natives.js |
+++ b/src/js/v8natives.js |
@@ -1140,7 +1140,7 @@ function ObjectSealJS(obj) { |
if (isProxy) { |
ProxyFix(obj); |
} |
- var names = ObjectGetOwnPropertyNames(obj); |
+ var names = OwnPropertyKeys(obj); |
for (var i = 0; i < names.length; i++) { |
var name = names[i]; |
var desc = GetOwnPropertyJS(obj, name); |
@@ -1170,7 +1170,7 @@ function ObjectFreezeJS(obj) { |
if (isProxy) { |
ProxyFix(obj); |
} |
- var names = ObjectGetOwnPropertyNames(obj); |
+ var names = OwnPropertyKeys(obj); |
for (var i = 0; i < names.length; i++) { |
var name = names[i]; |
var desc = GetOwnPropertyJS(obj, name); |
@@ -1210,7 +1210,7 @@ function ObjectIsSealed(obj) { |
if (%IsExtensible(obj)) { |
return false; |
} |
- var names = ObjectGetOwnPropertyNames(obj); |
+ var names = OwnPropertyKeys(obj); |
for (var i = 0; i < names.length; i++) { |
var name = names[i]; |
var desc = GetOwnPropertyJS(obj, name); |
@@ -1231,7 +1231,7 @@ function ObjectIsFrozen(obj) { |
if (%IsExtensible(obj)) { |
return false; |
} |
- var names = ObjectGetOwnPropertyNames(obj); |
+ var names = OwnPropertyKeys(obj); |
for (var i = 0; i < names.length; i++) { |
var name = names[i]; |
var desc = GetOwnPropertyJS(obj, name); |