Firefox should warn when adding an object with no handleEvent function as an EventListener from JavaScript
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
People
(Reporter: jason.bekolay, Unassigned)
Details
Updated•7 years ago
|
Comment 1•6 years ago
|
||
Hello @Honza
I am an Outreachy applicant and would like to try to solve this issue as my first contribution. Could you please assign me this bug? Thanks.
Comment 2•6 years ago
|
||
Thanks for the report!
This report is related to platform API and so I am changing the component.
Honza
Comment 3•6 years ago
|
||
(In reply to ecarr3344 from comment #1)
Hello @Honza
I am an Outreachy applicant and would like to try to solve this issue as my first contribution. Could you please assign me this bug? Thanks.
I don't think this is good-first-bug related to my project, sorry.
Honza
Comment 4•6 years ago
|
||
I wonder if this is something we need to tackle in dom/binding ...
Can we please get some ideas/suggestions about how to resolve this for :E_Carr?
Comment 5•6 years ago
|
||
Problem is that one can add handleEvent property to the object passed to addEventListener later, it doesn't need to be when listener is registered.
This is really bindings layer issue, if we want to improve error messages. We could get element localName/id or something like that to console when error is thrown.
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Updated•3 years ago
|
Description
•