Closed Bug 66172 Opened 24 years ago Closed 18 years ago

nsEventStatus "out" param isn't always set on HandleDOMEvent

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: mikepinkerton, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: dom0)

Attachments

(1 file)

As demonstrated in the Great Image Submit Fiasco Bug, the |aStatus| parameter
that comes out of |nsPresShell::HandleDOMEventWithTarget()| doesn't always get
set to a value as it used to. This probably means that there are circumstances
where |HandleDOMEvent()| (which is called from that method) does not set the
status and leaves it uninitialized.

Placeholder opened by request from jst so he can look into it.
Keywords: approval, patch, review
Target Milestone: --- → mozilla1.0
Keywords: dom0
would someone please review this code? it fell off my wishlist a while ago, but 
the patch is here, ... waiting.
timeless, your patch looks good to me and I think it's worth checking in, but
unfortunately it doesn't fix this bug, this bug was filed to make sure all
implmentations of HandleDOMEvent() really set the nsEventState out parameter
when they were called, not that all nsEventState parameters were initialized
before calling HandleDOMEvent(). r=jst for the patch, but the patch is not
enough to fix this bug.
sr=jst for the patch
r=saari for the patch
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 
(you can query for this string to delete spam or retrieve the list of bugs I've 
moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Severity = LOW [No Crash, No severe functional failure, No Cosmetic failure]
Visibility = LOW [Dont see any real world website usage] 

Priority = Visibility * Severity

Priority = p5

adding word "qawanted" because I'm setting this priority on available data & if 
someone feels otherwise then please investigate this more & feel free to change 
this priority.
Keywords: qawanted
Priority: -- → P5
Target Milestone: mozilla1.0.1 → ---
Mass-reassigning bugs to dom_bugs@netscape.com
Assignee: jst → dom_bugs
This bug is targeted at a Mac classic platform/OS, which is no longer supported
by mozilla.org. Please re-target it to another platform/OS if this bug applies
there as well or resolve this bug.

I will resolve this bug as WONTFIX in four weeks if no action has been taken.
To filter this and similar messages out, please filter for "mac_cla_reorg".
Mac Classic RIP
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
not mac specific
Status: RESOLVED → REOPENED
OS: Mac System 9.x → All
Hardware: Macintosh → All
Resolution: WONTFIX → ---
(In reply to comment #3)
> this bug was filed to make sure all
> implmentations of HandleDOMEvent() really set the nsEventState out parameter
> when they were called, not that all nsEventState parameters were initialized
> before calling HandleDOMEvent()

Since there aren't any HandleDOMEvent methods anymore, I'd call this fixed.

Status: REOPENED → RESOLVED
Closed: 20 years ago18 years ago
Depends on: 234455
Resolution: --- → FIXED
fwiw smaug used bug 234455 to kill that method
Keywords: qawanted
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: