Commit ee80b599 authored by neis's avatar neis Committed by Commit bot

Remove superfluous check in JSProxy::HasProperty.

R=jkummerow@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#33259}
parent 12bcba15
......@@ -4870,8 +4870,6 @@ Maybe<bool> JSProxy::HasProperty(Isolate* isolate, Handle<JSProxy> proxy,
// 7a. Return target.[[HasProperty]](P).
return JSReceiver::HasProperty(target, name);
}
// Do not leak private property names.
if (name->IsPrivate()) return Just(false);
// 8. Let booleanTrapResult be ToBoolean(? Call(trap, handler, «target, P»)).
Handle<Object> trap_result_obj;
Handle<Object> args[] = {target, name};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment