Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index fc45aaa8b6e0169b70672fd2dfde691813a66849..c02801f735189f6d03c25464803fd6f7cf62a3af 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -650,6 +650,10 @@ Handle<FixedArray> GetKeysInFixedArrayFor(Handle<JSReceiver> object, |
isolate->heap()->undefined_value(), |
v8::ACCESS_KEYS)) { |
isolate->ReportFailedAccessCheck(*current, v8::ACCESS_KEYS); |
+ if (isolate->has_scheduled_exception()) { |
+ isolate->PromoteScheduledException(); |
+ *threw = true; |
+ } |
break; |
} |