performProxyCall should toThis the value passed to its handler
authorkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 Jun 2018 00:03:56 +0000 (00:03 +0000)
committerkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 Jun 2018 00:03:56 +0000 (00:03 +0000)
commit2e8b680d66152f504b30f0ecfa7d5aed4d7d51f0
tree6f3d43a53ee732bb26154d243be0fa3a9e9fbb4c
parent3fdc4996dc8d233ed6a087f8c3253bc6b49de266
performProxyCall should toThis the value passed to its handler
https://bugs.webkit.org/show_bug.cgi?id=186951

Reviewed by Mark Lam.

JSTests:

* stress/proxy-call-apply-handler-to-this.js: Added.
(applyHandler):
(let.f.new.Proxy):
(withScope):
(lexicalScope):
(strictEvalScope):
(BigInt):

Source/JavaScriptCore:

* runtime/ProxyObject.cpp:
(JSC::performProxyCall):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JSTests/ChangeLog
JSTests/stress/proxy-call-apply-handler-to-this.js [new file with mode: 0644]
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/ProxyObject.cpp