<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>48598</bug_id>
          
          <creation_ts>2010-10-28 17:03:12 -0700</creation_ts>
          <short_desc>WebScriptDebuggerDelegate: Cannot Tell if an Exception is Uncaught</short_desc>
          <delta_ts>2011-01-18 13:43:15 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit API</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>52104</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joseph Pecoraro">joepeck</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>joepeck</cc>
    
    <cc>kelly_robinson+webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>301472</commentid>
    <comment_count>0</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2010-10-28 17:03:12 -0700</bug_when>
    <thetext>The &quot;hasHandler&quot; 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 &quot;hasHandler&quot;):
http://trac.webkit.org/browser/trunk/WebKit/mac/WebView/WebScriptDebugger.mm#L203

Inspector uses that information to identify an &quot;uncaught&quot; exception:
http://trac.webkit.org/browser/trunk/WebCore/bindings/js/ScriptDebugServer.cpp#L515</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>336062</commentid>
    <comment_count>1</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2011-01-18 13:43:15 -0800</bug_when>
    <thetext>Looks like this is being handled in:
&lt;http://webkit.org/b/52104&gt; Would like script debugging protocol method to differentiate between caught and uncaught exceptions

*** This bug has been marked as a duplicate of bug 52104 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>