WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
171783
[JSC] missing ToObject() in GetV / GetMethod spec algorithms
https://bugs.webkit.org/show_bug.cgi?id=171783
Summary
[JSC] missing ToObject() in GetV / GetMethod spec algorithms
Caitlin Potter (:caitp)
Reported
2017-05-06 19:58:38 PDT
In the following test cases (
https://jsfiddle.net/4sc58t7g/
), even in strict code, the receiver of the accessor should be an Object, per step 2 of
https://tc39.github.io/ecma262/#sec-getv
. So, anything which performs GetIterator() (for-of loops, Promise.all, for example) are passing an incorrect receiver to accessor methods.
Attachments
Add attachment
proposed patch, testcase, etc.
Caitlin Potter (:caitp)
Comment 1
2017-05-08 07:34:15 PDT
I guess this is working as intended per
https://tc39.github.io/ecma262/#sec-ordinaryget
--- so nevermind!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug