Bug 165181

Summary: [JSC] always wrap AwaitExpression operand in a new Promise
Product: WebKit Reporter: Caitlin Potter (:caitp) <caitp>
Component: New BugsAssignee: Caitlin Potter (:caitp) <caitp>
Status: RESOLVED FIXED    
Severity: Normal CC: andre.bargull, commit-queue, keith_miller, mark.lam, msaboff, saam, ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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.