Description[proxies] Correctly handle proxies in Function.prototype.bind
- Before getting the length property, we must check for it
using [[GetOwnProperty]]. Also, if the obtained length
is a number, we must properly convert it to an integer.
- In order to get the prototype we must use [[GetPrototypeOf]],
and do so before checking the length.
R=cbruni@chromium.org, jkummerow@chromium.org
BUG=v8:1543
LOG=n
Committed: https://crrev.com/0d83aad55725f8c20fe050f06c37ff51ed773e8b
Cr-Commit-Position: refs/heads/master@{#32934}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Also fix prototype handling. #Patch Set 3 : Rebase and separate file for tests. #
Messages
Total messages: 23 (12 generated)
|