RESOLVED DUPLICATE of bug 52104 48598
WebScriptDebuggerDelegate: Cannot Tell if an Exception is Uncaught
https://bugs.webkit.org/show_bug.cgi?id=48598
Summary WebScriptDebuggerDelegate: Cannot Tell if an Exception is Uncaught
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.