Index: test/mjsunit/harmony/proxies-for.js |
diff --git a/test/mjsunit/harmony/proxies-for.js b/test/mjsunit/harmony/proxies-for.js |
index ea162496ba483f8d46739f3dff6386e1d989bc07..e98c34afe58f3c509b9dd8a7c0800fb784138ac0 100644 |
--- a/test/mjsunit/harmony/proxies-for.js |
+++ b/test/mjsunit/harmony/proxies-for.js |
@@ -175,3 +175,9 @@ TestForInThrow(Proxy.create({ |
for (var k in o) { keys.push(k); }; |
assertEquals(["0"], keys); |
})(); |
+ |
+(function () { |
+ var p = Proxy.create({getOwnPropertyNames: |
+ function() { return [1, Symbol(), 2] }}); |
+ assertEquals(["1","2"], Object.getOwnPropertyNames(p)); |
+})(); |