Bug 214854

Summary: JSPromise::reject might throw more than an unterminated exception
Product: WebKit Reporter: Saam Barati <saam>
Component: BindingsAssignee: Saam Barati <saam>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=214927
Attachments:
Description Flags
patch
ysuzuki: review+
patch for landing none

Description Saam Barati 2020-07-27 15:51:18 PDT
It calls a builtin, which, can stack overflow. Theoretically, can OOM too
Comment 1 Saam Barati 2020-07-27 17:15:27 PDT
<rdar://problem/66152648>
Comment 2 Saam Barati 2020-07-27 17:22:51 PDT
Created attachment 405332 [details]
patch
Comment 3 Yusuke Suzuki 2020-07-27 17:25:14 PDT
Comment on attachment 405332 [details]
patch

r=me if EWS gets green.
Comment 4 Saam Barati 2020-07-28 09:27:20 PDT
Created attachment 405364 [details]
patch for landing
Comment 5 EWS 2020-07-28 09:52:50 PDT
Committed r264992: <https://trac.webkit.org/changeset/264992>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 405364 [details].