Open
Bug 91703
Opened 24 years ago
Updated 2 years ago
vague comment about consume/ignore return values for listeners
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
NEW
People
(Reporter: jruderman, Unassigned)
References
()
Details
Several comments say "returns whether the event was consumed or ignored". These comments should be more specific: what should implementers return to consume the event? What should they return to ignore it? (Also, a nearby comment mentions the non-existent nsIDOMEvent.h.) Several of the files with the confusing comment: - dom/public/coreEvents/nsIDOMFocusListener.h - dom/public/coreEvents/nsIDOMMouseListener.h - dom/public/coreEvents/nsIDOMKeyListener.h Here's what the comment looks like: /** * Processes a mouse down event * @param aMouseEvent @see nsIDOMEvent.h * @returns whether the event was consumed or ignored. @see nsresult */ NS_IMETHOD MouseDown(nsIDOMEvent* aMouseEvent) = 0;
Updated•23 years ago
|
Target Milestone: --- → mozilla0.9.8
Updated•23 years ago
|
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Updated•23 years ago
|
Target Milestone: mozilla0.9.9 → mozilla1.0
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla1.1
Updated•23 years ago
|
QA Contact: madhur → rakeshmishra
Updated•22 years ago
|
QA Contact: rakeshmishra → trix
Reporter | ||
Updated•19 years ago
|
Assignee: saari → events
Target Milestone: Future → ---
Updated•15 years ago
|
Assignee: events → nobody
QA Contact: ian → events
Assignee | ||
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
Updated•2 years ago
|
Severity: trivial → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•