Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 13b3918332a888f85a7318f23285fedf9fa52d93..16f7e6f31994820010d2e9c9ac7531bef7ec0925 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -8191,6 +8191,11 @@ static bool GetKeysFromJSObject(Isolate* isolate, Handle<JSReceiver> receiver, |
DCHECK(type == JSReceiver::OWN_ONLY); |
filter = static_cast<PropertyFilter>(filter | ONLY_ALL_CAN_READ); |
keep_going = false; |
+ |
+ // TODO(jkummerow): LayoutTests need adaptation before we can be spec |
+ // compliant. |
+ // Let [[OwnPropertyKeys]] also return an empty list for now. |
+ return false; |
} |
JSObject::CollectOwnElementKeys(object, accumulator, filter); |