| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index d407f74c644c619c71c4af592071901bad26b2b5..ebdc6b7f94df66bf02980a6f274e5e73c864c07b 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -5041,6 +5041,12 @@ MaybeHandle<Object> JSObject::DeleteProperty(Handle<JSObject> object,
|
| ? KEEP_INOBJECT_PROPERTIES
|
| : CLEAR_INOBJECT_PROPERTIES;
|
| Handle<JSObject> holder = it.GetHolder<JSObject>();
|
| + // TODO(verwaest): Remove this temporary compatibility hack when blink
|
| + // tests are updated.
|
| + if (!holder.is_identical_to(object) &&
|
| + !(object->IsJSGlobalProxy() && holder->IsJSGlobalObject())) {
|
| + return it.isolate()->factory()->true_value();
|
| + }
|
| NormalizeProperties(holder, mode, 0);
|
| Handle<Object> result =
|
| DeleteNormalizedProperty(holder, name, delete_mode);
|
|
|