[Webkit-unassigned] [Bug 48598] New: WebScriptDebuggerDelegate: Cannot Tell if an Exception is Uncaught

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 28 17:03:12 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=48598

           Summary: WebScriptDebuggerDelegate: Cannot Tell if an Exception
                    is Uncaught
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org


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

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list