Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 7a8664cfd6cbdfb4b5f854b4c5f6bbc6dddfd3f4..286e8e0d33d2622433e06b5582cf3e1c17fe5716 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -4576,6 +4576,13 @@ Maybe<bool> Object::SetPropertyInternal(LookupIterator* it, |
if (result.IsNothing() || result.FromJust()) return result; |
// Interceptor modified the store target but failed to set the |
// property. |
+ // TODO(jochen): Remove after we've identified the faulty interceptor. |
+ if (!store_target_map.is_null() && |
+ *store_target_map != it->GetStoreTarget()->map()) { |
+ it->isolate()->PushStackTraceAndDie( |
+ 0xabababaa, v8::ToCData<void*>(it->GetInterceptor()->setter()), |
+ nullptr, 0xabababab); |
+ } |
Utils::ApiCheck(store_target_map.is_null() || |
*store_target_map == it->GetStoreTarget()->map(), |
it->IsElement() ? "v8::IndexedPropertySetterCallback" |