Bug 48598

Summary: WebScriptDebuggerDelegate: Cannot Tell if an Exception is Uncaught
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: joepeck, kelly_robinson+webkit
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Joseph Pecoraro
Reported 2010-10-28 17:03:12 PDT
The "hasHandler" information for exceptions is lost when notifying the WebScriptDebuggerDelegate. It may be useful for the delegate to know if the exception was uncaught or not. The information is available, before calling the delegate, but it is ignored (note "hasHandler"): http://trac.webkit.org/browser/trunk/WebKit/mac/WebView/WebScriptDebugger.mm#L203 Inspector uses that information to identify an "uncaught" exception: http://trac.webkit.org/browser/trunk/WebCore/bindings/js/ScriptDebugServer.cpp#L515
Attachments
Joseph Pecoraro
Comment 1 2011-01-18 13:43:15 PST
Looks like this is being handled in: <http://webkit.org/b/52104> Would like script debugging protocol method to differentiate between caught and uncaught exceptions *** This bug has been marked as a duplicate of bug 52104 ***
Note You need to log in before you can comment on or make changes to this bug.