Open Bug 905030 Opened 12 years ago Updated 3 years ago

mouseover events are not executed when the window doesn't have focus even with focusmanager.testmode enabled

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect

Tracking

()

People

(Reporter: davehunt, Unassigned)

Details

I'm not clear if focusmanager.testmode is supposed to allow mouseover events to work when the Firefox window is not focused, but they currently appear not to, regardless of this being enabled. This is preventing us from running Web QA's Selenium tests in parallel. A good example of this is test_that_items_menu_fly_out_while_hovering in the AMO test suite: https://github.com/mozilla/Addon-Tests/blob/aa8a59363d2840c8b08af9549094cf3a54f4a84a/tests/desktop/test_homepage.py#L158 If this is supposed to be covered by the testmode then there is a bug, and if it's not then can we enhance the testmode to cover such events?
Flags: needinfo?(enndeakin)
Which mouseover events are you referring to? Is this a Mac specific bug? On Windows and Linux, mouse movement events should still fire on background windows with or without the testmode enabled.
Flags: needinfo?(enndeakin)
This is not platform specific as far as I know. We are only able to run these tests on Windows as Selenium does not currently support such interactions on Mac, and we currently have no Linux test nodes for Web QA. The test currently performs a mouse move to each top level menu item on https://addons.mozilla.org/ and verifies that the drop-down is visible. This is passing if Firefox is the top focused window, but otherwise fails.
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.