It must call the 'getOwnPropertyDescriptor' trap, not the 'has' trap. R=cbruni@chromium.org, jkummerow@chromium.org BUG=v8:1543 LOG=n Review URL: https://codereview.chromium.org/1532723005 Cr-Commit-Position: refs/heads/master@{#32944}
Object.prototype.hasOwnProperty should use JSReceiver::HasOwnProperty for proxies. BUG=v8:1543 LOG=N Review URL: https://codereview.chromium.org/1480213004 Cr-Commit-Position: refs/heads/master@{#32475}