Index: test/mjsunit/third_party/object-keys.js |
diff --git a/test/mjsunit/third_party/object-keys.js b/test/mjsunit/third_party/object-keys.js |
index 883937d53c282a70121fb9e26713dc746f1e9332..206ee949127c6308b7e5009d21ecb1bcd8eec29a 100644 |
--- a/test/mjsunit/third_party/object-keys.js |
+++ b/test/mjsunit/third_party/object-keys.js |
@@ -49,6 +49,7 @@ assertEquals(Object.keys({__proto__:[1,2,3]}), []); |
var x = []; |
x.__proto__ = [1, 2, 3]; |
assertEquals(Object.keys(x), []); |
+assertEquals(Object.keys(function () {}), []); |
function argsTest(a, b, c) { |
assertEquals([], Object.keys(arguments)); |