Remove temporary hack re deleting hidden properties
authorverwaest <verwaest@chromium.org>
Tue, 14 Jul 2015 09:22:02 +0000 (02:22 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 14 Jul 2015 09:22:16 +0000 (09:22 +0000)
BUG=

Review URL: https://codereview.chromium.org/1222223002

Cr-Commit-Position: refs/heads/master@{#29639}

src/objects.cc

index e53df91..1d829af 100644 (file)
@@ -5231,14 +5231,6 @@ MaybeHandle<Object> JSReceiver::DeleteProperty(LookupIterator* it,
           return it->factory()->false_value();
         }
 
-        Handle<JSObject> holder = it->GetHolder<JSObject>();
-        // TODO(verwaest): Remove this temporary compatibility hack when blink
-        // tests are updated.
-        if (!holder.is_identical_to(receiver) &&
-            !(receiver->IsJSGlobalProxy() && holder->IsJSGlobalObject())) {
-          return it->factory()->true_value();
-        }
-
         it->Delete();
 
         if (is_observed) {