<?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>26052</bug_id>
          
          <creation_ts>2009-05-27 18:01:10 -0700</creation_ts>
          <short_desc>Event window.onerror doesn&apos;t work</short_desc>
          <delta_ts>2009-05-27 18:25:14 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>8519</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="jasneet">jasneet</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jasneet</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>123345</commentid>
    <comment_count>0</comment_count>
    <who name="jasneet">jasneet</who>
    <bug_when>2009-05-27 18:01:10 -0700</bug_when>
    <thetext>I Steps:
1. Define a function to handle window errors
2. Assign this function to window.onerror event 
3. Throw new error and it never goes inside the function

II Issue:
The execution of the function body should be assigned to the window.onerror event. The error is registered into the javascript console but it never runs the function

III Other Browsers:
IE7: ok
FF3: ok

IV Nightly tested: 44164

Bug in Chromium : http://code.google.com/p/chromium/issues/detail?id=7771</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123346</commentid>
    <comment_count>1</comment_count>
      <attachid>30722</attachid>
    <who name="jasneet">jasneet</who>
    <bug_when>2009-05-27 18:01:33 -0700</bug_when>
    <thetext>Created attachment 30722
testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123353</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2009-05-27 18:25:14 -0700</bug_when>
    <thetext>It is helpful to do a cursory search of bugzilla before filing bugs.  Thanks.

*** This bug has been marked as a duplicate of 8519 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>30722</attachid>
            <date>2009-05-27 18:01:33 -0700</date>
            <delta_ts>2009-05-27 18:01:33 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>346</size>
            <attacher name="jasneet">jasneet</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv
L0VOIj4NCjxodG1sPg0KIDxoZWFkPg0KICA8dGl0bGU+IFdpbmRvdy5vbmVycm9yIEJ1ZyA8L3Rp
dGxlPg0KIDwvaGVhZD4NCg0KIDxib2R5Pg0KDQoJPHNjcmlwdD4NCg0KCQlmdW5jdGlvbiBlcnJw
YWdlKGRlc2NyaXB0aW9uLCB1cmwsIGxpbmUpDQoJCXsNCgkJCWFsZXJ0KCJpbnNpZGUgdGhlIGZ1
bmN0aW9uIik7DQoJCX0NCg0KCQl3aW5kb3cub25lcnJvciA9IGVycnBhZ2U7DQoNCgkJdGhyb3cg
bmV3IEVycm9yKCJ0ZXN0IGVycm9yIik7DQoNCgk8L3NjcmlwdD4NCg0KIDwvYm9keT4NCjwvaHRt
bD4NCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>