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 d09265c6f738a3729bd8b75ad80a1b304408e6c9..c8003745c4b1c5ccfb4b2b04e0f9eca72594f3f7 100644 |
--- a/test/mjsunit/third_party/object-keys.js |
+++ b/test/mjsunit/third_party/object-keys.js |
@@ -31,8 +31,8 @@ |
// Based on LayoutTests/fast/js/Object-keys.html |
-assertThrows(function () { Object.keys(2) }, TypeError); |
-assertThrows(function () { Object.keys("foo") }, TypeError); |
+assertEquals(Object.keys(2), []); |
+assertEquals(Object.keys("foo"), ["0", "1", "2"]); |
assertThrows(function () { Object.keys(null) }, TypeError); |
assertThrows(function () { Object.keys(undefined) }, TypeError); |