Open Bug 216841 Opened 21 years ago Updated 2 years ago

Create DOM events at the start of event dispatch

Categories

(Core :: DOM: Events, defect, P5)

defect

Tracking

()

People

(Reporter: bryner, Unassigned)

References

(Blocks 1 open bug)

Details

Currently, DOM events are created lazily by HandleDOMEvent() implementations. 
Creating a DOM event is cheap (this optimization is very premature), and dealing
with the fact that the DOM event may not have been created yet makes some code
(nsGenericElement::HandleDOMEvent, nsXULElement::HandleDOMEvent,
nsEventListenerManager::HandleEvent) more complicated than it should be.
This is a dup of bug 198657, not that it matters.  Keep whichever one open you want.
Blocks: 198657
Depends on: 234455
Assignee: bryner → events
Assignee: events → nobody
QA Contact: ian → events
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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.