Bug 165181 - [JSC] always wrap AwaitExpression operand in a new Promise
Summary: [JSC] always wrap AwaitExpression operand in a new Promise
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Caitlin Potter (:caitp)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-29 17:51 PST by Caitlin Potter (:caitp)
Modified: 2016-11-29 19:43 PST (History)
7 users (show)

See Also:


Attachments
Patch (3.80 KB, patch)
2016-11-29 17:54 PST, Caitlin Potter (:caitp)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Caitlin Potter (:caitp) 2016-11-29 17:51:26 PST
[JSC] always wrap AwaitExpression operand in a new Promise
Comment 1 Caitlin Potter (:caitp) 2016-11-29 17:54:14 PST
Created attachment 295685 [details]
Patch
Comment 2 Caitlin Potter (:caitp) 2016-11-29 17:59:25 PST
André Bargull had filed this issue on v8, and it also seems to apply to the WebKit implementation due to relying on @Promise.@resolve().
Comment 3 Yusuke Suzuki 2016-11-29 18:28:48 PST
Comment on attachment 295685 [details]
Patch

r=me
Comment 4 WebKit Commit Bot 2016-11-29 19:43:15 PST
Comment on attachment 295685 [details]
Patch

Clearing flags on attachment: 295685

Committed r209113: <http://trac.webkit.org/changeset/209113>
Comment 5 WebKit Commit Bot 2016-11-29 19:43:18 PST
All reviewed patches have been landed.  Closing bug.