Index: test/mjsunit/harmony/proxies-json.js |
diff --git a/test/mjsunit/harmony/proxies-json.js b/test/mjsunit/harmony/proxies-json.js |
index 19a13298df3cc8e01b872813a02ac56cba77b599..6eb0ce90524a814391615087c552295fbc00e207 100644 |
--- a/test/mjsunit/harmony/proxies-json.js |
+++ b/test/mjsunit/harmony/proxies-json.js |
@@ -129,9 +129,6 @@ var handler4 = { |
get: function(target, name) { |
return 0; |
}, |
- enumerate: function(target) { |
- return [][Symbol.iterator](); |
- }, |
has: function() { |
return true; |
}, |
@@ -152,8 +149,8 @@ var handler5 = { |
if (name == 'z') return 97000; |
return function(key) { return key.charCodeAt(0) + this.z; }; |
}, |
- enumerate: function(target) { |
- return ['toJSON', 'z'][Symbol.iterator](); |
+ ownKeys: function(target) { |
+ return ['toJSON', 'z']; |
}, |
has: function() { |
return true; |
@@ -173,8 +170,8 @@ var handler6 = { |
get: function(target, name) { |
return function(key) { return undefined; }; |
}, |
- enumerate: function(target) { |
- return ['toJSON'][Symbol.iterator](); |
+ ownKeys: function(target) { |
+ return ['toJSON']; |
}, |
has: function() { |
return true; |