Open
Bug 426195
Opened 17 years ago
Updated 3 years ago
Colorpicker test can go wrong after ctrl-select test
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
NEW
People
(Reporter: martijn.martijn, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(5 files)
This is a follow-up from bug 392746 where it was noticed that the checked in mochitest there caused failures in completely unrelated mochitests.
In this bug, I'm attaching an attempt at minimizing that problem, see attached zipped up testcase (unminimized).
To reproduce:
- Extract the attached file
- Open parentframe.htm, let the test run
Actual result:
Failed: 2 for the Colorpicker tests
Expected result:
Passed: 2 for the Colorpicker tests
Apparently, parentframe.htm needs a scrollbar in the page (the page needs to overflow), in order for the failures to occur. So it seems like it has something to do with the arrow key down scrolling or something.
I'm filing this for now in Core->Testing, mainly because I don't really know in which component it has to be in, for now.
Reporter | ||
Comment 1•17 years ago
|
||
To reproduce:
- Unzip the testcase
- Press the arrow down key, notice that the selected color cell is the red one.
- wait 1 second (some redirecting and loading the colorpicker again is happening)
- Press the arrow down key, notice that the selected color cell is now the white one (the first one).
Reporter | ||
Comment 2•17 years ago
|
||
When running the testcase, I get:
Before test_bug392746.html:
initialize
iscolorcell#FFFFFF
onpopupshowing
cells.item(0)
iscolorcell#FF0000
After test_bug392746.html:
initialize
iscolorcell#FFFFFF
onpopupshowing
cells.item(0)
iscolorcell#FF0000
mouseover
iscolorcell#CCCCCC
So apparently, somehow a mouseover event is fired after test_bug392746.html has been run. I have no idea why that is happening.
Reporter | ||
Updated•17 years ago
|
Attachment #313084 -
Attachment is patch: true
Attachment #313084 -
Attachment mime type: application/octet-stream → text/plain
Reporter | ||
Comment 3•17 years ago
|
||
The testcase uses enhanced privileges, so you need to download it to your computer.
With this testcase, I'm getting mouseover and mouseout alerts, which I would not expect to happen.
Reporter | ||
Comment 4•17 years ago
|
||
Reporter | ||
Comment 5•17 years ago
|
||
Moving this to Event Handling.
Neil, perhaps you have anything meaningful to say? The alert should not be appearing with the testcases, right?
Component: Testing → Event Handling
QA Contact: testing → events
Reporter | ||
Comment 6•17 years ago
|
||
One day, this issue might cause mochitest failures again.
Assignee | ||
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•