Open
Bug 897860
Opened 11 years ago
Updated 2 years ago
calling removeEventListener during listener execution shall not remove it from the list
Categories
(Core :: DOM: Events, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: ondras, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release) Build ID: 20130709093527 Steps to reproduce: This simple code tries to remove a second listener, attached on the same node to the same event phase: http://jsfiddle.net/ondras/fD9qq/ Actual results: The listener was removed. Expected results: The listener shall not be removed. According to the spec, candidate listeners are unchangeable during their execution on a particular node/object. Note this works for addEventListener (new listener is not executed during this event, as expected).
Comment 1•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•