Closed Bug 223638 Opened 22 years ago Closed 19 years ago

DOM Events in XUL documents incorrectly report at-target phase

Categories

(Core :: XUL, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: WeirdAl, Assigned: hyatt)

Details

(Keywords: testcase)

Attachments

(1 file)

For some reason, events going through XUL documents report they are in an at-target phase while they are actually in a capturing phase. Testcase coming up.
Testcase: Open the attachment, and click on the button. Expected results: click(in count=1, target=button. currentTarget=#document) click(in count=2, target=button. currentTarget=window element) click(out count=1, target=button. currentTarget=window element) click(out count=0, target=button. currentTarget=#document) command(in count=1, target=button. currentTarget=#document) command(in count=2, target=button. currentTarget=window element) command(out count=1, target=button. currentTarget=window element) command(out count=0, target=button. currentTarget=#document) Actual results: click(at-target count=0, target=button. currentTarget=#document) click(at-target count=0, target=button. currentTarget=window element) click(out count=-1, target=button. currentTarget=window element) click(out count=-2, target=button. currentTarget=#document) command(at-target count=-2, target=button. currentTarget=#document) command(at-target count=-2, target=button. currentTarget=window element) command(out count=-3, target=button. currentTarget=window element) command(out count=-4, target=button. currentTarget=#document)
This problem also is reproducible on Windows XP using Nightly 2003101604
It's unclear when this happened, but Firefox 1.5.0.x now passes this testcase. Yay!
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: