Bug 146555

Summary: Relax builtin JS restriction about try-catch
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: JavaScriptCoreAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, darin, fpizlo, ggaren, mark.lam, msaboff, oliver, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 146229    
Attachments:
Description Flags
Patch none

Yusuke Suzuki
Reported 2015-07-02 12:26:09 PDT
try-catch cannot be used in builtin JS code. But relaxing this restriction is useful for writing Promise function in JS.
Attachments
Patch (2.26 KB, patch)
2015-07-02 21:33 PDT, Yusuke Suzuki
no flags
Yusuke Suzuki
Comment 1 2015-07-02 21:33:27 PDT
Yusuke Suzuki
Comment 2 2015-07-03 09:30:47 PDT
Could anyone take a look?
Yusuke Suzuki
Comment 3 2015-07-03 09:48:14 PDT
Comment on attachment 256070 [details] Patch Thanks for your review!
WebKit Commit Bot
Comment 4 2015-07-03 10:39:20 PDT
Comment on attachment 256070 [details] Patch Clearing flags on attachment: 256070 Committed r186260: <http://trac.webkit.org/changeset/186260>
WebKit Commit Bot
Comment 5 2015-07-03 10:39:24 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.