Bug 162583

Summary: Exception unwinding code should use a CatchScope instead of a ThrowScope.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, fpizlo, ggaren, jfbastien, keith_miller, msaboff, saam
Priority: P2    
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 162351    
Attachments:
Description Flags
proposed patch. ggaren: review+

Description Mark Lam 2016-09-26 16:05:13 PDT
This is because the exception unwinding code does not throw an exception.  It only inspects the exception and passes it to the appropriate handler.
Comment 1 Mark Lam 2016-09-26 16:10:04 PDT
Created attachment 289885 [details]
proposed patch.
Comment 2 Geoffrey Garen 2016-09-26 16:11:57 PDT
Comment on attachment 289885 [details]
proposed patch.

r=me
Comment 3 Mark Lam 2016-09-26 16:14:57 PDT
Thanks for the review.  Landed in r206401: <http://trac.webkit.org/r206401>.