<?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>18232</bug_id>
          
          <creation_ts>2008-03-31 00:56:27 -0700</creation_ts>
          <short_desc>Exceptions thrown in setTimeOut not reported correctly in Console</short_desc>
          <delta_ts>2008-07-20 05:45:52 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore JavaScript</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeremy Moskovich">playmobil</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75912</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Moskovich">playmobil</who>
    <bug_when>2008-03-31 00:56:27 -0700</bug_when>
    <thetext>Testcase:

setTimeout(function() {throw &quot;Thrown from inside timeout&quot;;}, 10);
throw &quot;Thrown from outside timeout&quot;;

Expected result:
After running the above code the console should show the following errors:
* &quot;Thrown from outside timeout&quot;
* &quot;Thrown from inside timeout&quot;

Actual Results:
The exception thrown from inside the timeout is displayed as &quot;undefined&quot; in the console.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76030</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-03-31 22:56:55 -0700</bug_when>
    <thetext>See also: bug 17470.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79497</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2008-05-02 15:27:49 -0700</bug_when>
    <thetext>&lt;rdar://problem/5908157&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86458</commentid>
    <comment_count>3</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2008-07-20 05:45:52 -0700</bug_when>
    <thetext>Fixed in r35253</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>