Bug 26052 - Event window.onerror doesn't work
Summary: Event window.onerror doesn't work
Status: RESOLVED DUPLICATE of bug 8519
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
Keywords: HasReduction
Depends on:
Reported: 2009-05-27 18:01 PDT by jasneet
Modified: 2009-05-27 18:25 PDT (History)
1 user (show)

See Also:

testcase (346 bytes, text/html)
2009-05-27 18:01 PDT, jasneet
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasneet 2009-05-27 18:01:10 PDT
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
Comment 1 jasneet 2009-05-27 18:01:33 PDT
Created attachment 30722 [details]
Comment 2 Sam Weinig 2009-05-27 18:25:14 PDT
It is helpful to do a cursory search of bugzilla before filing bugs.  Thanks.

*** This bug has been marked as a duplicate of 8519 ***