Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index efe35ed30ecab035dc602df3b821b8f9002fd238..554f9dce970f44a62229e6dbd2eb56bf24f1aa47 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -6177,9 +6177,7 @@ MaybeHandle<FixedArray> JSReceiver::GetKeys(Handle<JSReceiver> object, |
// Check access rights if required. |
if (current->IsAccessCheckNeeded() && !isolate->MayAccess(current)) { |
- isolate->ReportFailedAccessCheck(current); |
- RETURN_EXCEPTION_IF_SCHEDULED_EXCEPTION(isolate, FixedArray); |
- break; |
+ return content; |
} |
// Compute the element keys. |