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

jasneet
Reported 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
Attachments
testcase (346 bytes, text/html)
2009-05-27 18:01 PDT, jasneet
no flags
jasneet
Comment 1 2009-05-27 18:01:33 PDT
Created attachment 30722 [details] testcase
Sam Weinig
Comment 2 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 ***
Note You need to log in before you can comment on or make changes to this bug.