| Summary: | Bound functions should pass correct NewTarget value | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Shvayka <ashvayka> | ||||
| Component: | JavaScriptCore | Assignee: | Alexey Shvayka <ashvayka> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Trivial | CC: | commit-queue, ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
Created attachment 393493 [details]
Patch
Comment on attachment 393493 [details]
Patch
r=me.
Huh, I guess that makes sense
Comment on attachment 393493 [details] Patch Clearing flags on attachment: 393493 Committed r258410: <https://trac.webkit.org/changeset/258410> All reviewed patches have been landed. Closing bug. |
Test case: Reflect.construct(function() {}.bind(), [], Set) instanceof Set Expected: true Actual: false ECMA262: https://tc39.es/ecma262/#sec-bound-function-exotic-objects-construct-argumentslist-newtarget (steps 5-6) Test262: https://test262.report/browse/language/statements/class/subclass/bound-function.js