[Webkit-unassigned] [Bug 166919] "this" missing after await in async arrow function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 15 12:36:17 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=166919

Saam Barati <sbarati at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #298665|review?                     |review+
              Flags|                            |

--- Comment #4 from Saam Barati <sbarati at apple.com> ---
Comment on attachment 298665
  --> https://bugs.webkit.org/attachment.cgi?id=298665
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=298665&action=review

r=me

> Source/JavaScriptCore/ChangeLog:10
> +        Async arrow function can be suspende and during resuming shold be use _this_ from 

"suspende" => "suspended"
"and during resuming shold be use _this_" => "and when resumed should use _this_"

> JSTests/stress/async-arrow-functions-lexical-binding-in-class.js:52
>      asyncThisPropBody() {

Can you also add some tests where we bind various "this" values and make sure we get the correct result.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170115/3e6886c0/attachment.html>


More information about the webkit-unassigned mailing list