Bug 4437

Summary: clean up error creation with new throwError function
Product: WebKit Reporter: Darin Adler <darin>
Component: JavaScriptCoreAssignee: Darin Adler <darin>
Status: VERIFIED FIXED    
Severity: Enhancement    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
adds new throwError function, uses it in every suitable place, other cleanup
none
adds new throwError function, uses it, other cleanup (merged with TOT) ggaren: review+

Description Darin Adler 2005-08-14 22:50:00 PDT
There are a lot of calls to Error::create followed by calls to exec->setException. I'd like to simplify that 
idiom with a new throwError function.
Comment 1 Darin Adler 2005-08-14 22:50:52 PDT
Created attachment 3393 [details]
adds new throwError function, uses it in every suitable place, other cleanup
Comment 2 Darin Adler 2005-08-14 22:53:42 PDT
Created attachment 3394 [details]
adds new throwError function, uses it, other cleanup (merged with TOT)
Comment 3 Geoffrey Garen 2005-08-15 15:21:51 PDT
Comment on attachment 3394 [details]
adds new throwError function, uses it, other cleanup (merged with TOT)

r=me.