Closed
Bug 95953
Opened 25 years ago
Closed 24 years ago
dispatchEvent doesn't set target (correctly)
Categories
(Core :: DOM: Events, defect)
Core
DOM: Events
Tracking
()
VERIFIED
WORKSFORME
mozilla0.9.9
People
(Reporter: andorxor, Assigned: joki)
Details
(Keywords: dom2)
Attachments
(1 file)
|
965 bytes,
text/html
|
Details |
EventTarget's dispatchEvent should set the target property.
The specification at
http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventTarget-
dispatchEvent
states:
"This method allows the dispatch of events into the implementations event model
(...) The target of the event is the EventTarget on which dispatchEvent is
called."
Currently dispatchEvent doesn't set the target correctly (at least for custom
events). See the attached testcase.
| Reporter | ||
Comment 1•25 years ago
|
||
Confirmed using Mac/2001082408. No obvious duplicate.
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9.8
| Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.8 → mozilla0.9.9
| Assignee | ||
Comment 3•24 years ago
|
||
I haven't check this in a while but this works for me on my current build.
target and currentTarget match as expected.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Comment 4•24 years ago
|
||
verifying on build 2002-02-22-03-trunk windows 98
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•