Description[proxies] throw TypeError if is_callable Map bit is unset
Per ProxyCreate() (https://tc39.github.io/ecma262/#sec-proxycreate), a Proxy
is only given a [[Call]] slot if the target has a [[Call]] slot as well. This
was previously implemented correctly for [[Construct]], but not for [[Call]].
BUG=v8:4797, v8:4796, v8:1543
LOG=N
R=cbruni@chromium.org, neis@chromium.org, adamk@chromium.org, littledan@chromium.org
Committed: https://crrev.com/18b9c1ce705e5fe38c23bdd19fcbbfbe3121c611
Cr-Commit-Position: refs/heads/master@{#34461}
Patch Set 1 #Patch Set 2 : #
Total comments: 3
Patch Set 3 : Implement in builtins #
Total comments: 1
Patch Set 4 : Move bit test to just before Proxy instance check #Patch Set 5 : also test F.p.call.apply() and F.p.apply.apply() #Patch Set 6 : move bit test for MIPS/MIPS64 ports, too #
Messages
Total messages: 23 (8 generated)
|