WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 8511
6688
onerror handlers set by javascript are never invoked
https://bugs.webkit.org/show_bug.cgi?id=6688
Summary
onerror handlers set by javascript are never invoked
Anders Carlsson
Reported
2006-01-20 09:31:38 PST
If an onerror handler is set on a node it will never be invoked. An onerror handler specified as an element attribute will however be invoked. From the looks of it, the reason is that the onerror JS setter adds a listener for "khtmlErrorEvent" instead of "errorEvent"
Attachments
Test case
(1.62 KB, text/html)
2006-04-01 14:57 PST
,
Doeke Zanstra
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Doeke Zanstra
Comment 1
2006-04-01 14:57:35 PST
Created
attachment 7448
[details]
Test case I made a test case demonstrating registering an onerror handler via 1.inline (works) 2) onerror (doesn't) and 3.addEventListener.
Alexey Proskuryakov
Comment 2
2006-05-03 04:51:13 PDT
Fixed in
bug 8511
, and there's also
bug 8519
for window.onerror. *** This bug has been marked as a duplicate of
8511
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug