Open Bug 351934 Opened 18 years ago Updated 2 years ago

The button's event property is undefined under FF2.0 and TB2.0

Categories

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

x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: davide.ficano, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6

The event object received by oncommand handlers doesn't contain the button property.
Under FF 1.5.x it is correctly present and it value is 0 (zero).
The code in attach demonstrates the problem.

Reproducible: Always

Steps to Reproduce:
1. Save the testcase in attach
2. Open the save testcase directly from Firefox address bar
3. The XUL window is displayed
4. Click on button

Actual Results:  
Under FF2.0 beta and TB2.0a1 it prints 'undefined'
Under FF1.5.x and TB 1.5.x it prints 0 (zero)

Expected Results:  
Under FF2.0 and TB2.0 prints 0 (zero)
Keywords: testcase
I am also seeing this problem in the latest 2.0 nightly builds, and it affects my Googlebar Lite extension.
FF 2.0 RC1 is affected by this bug
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.

Attachment

General

Creator:
Created:
Updated:
Size: