Bug 26052

Summary: Event window.onerror doesn't work
Product: WebKit Reporter: jasneet <jasneet>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: jasneet
Priority: P2 Keywords: HasReduction
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
testcase none

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]
testcase
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 ***