Open Bug 2050160 Opened 1 day ago Updated 1 day ago

browser_backOrSidebarButtonFitts.js test fails under browser.nova.enabled

Categories

(Firefox :: Sidebar, defect)

defect

Tracking

()

People

(Reporter: sthompson, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [fidefe-nova])

Note: this may get fixed automatically by fixing bug 2038764

Under browser.nova.enabled, browser/base/content/test/general/browser_backOrSidebarButtonFitts.js fails on all platforms (Windows, Mac, Linux) with:

Clicking the first pixel should toggle the sidebar - Got true, expected false

The test maximizes the window and clicks pixel (0, y) — the leftmost pixel of the screen — expecting Fitts' law edge targeting to reach the sidebar button. Under Nova, the toolbox has a margin-inline gap from the window edge, so pixel (0, y) no longer hits the sidebar button and the sidebar does not toggle.

The test needs to be updated to account for Nova's layout geometry, or the sidebar button needs to be made flush with the window edge under Nova to restore Fitts' law edge targeting.

Test dashboard: https://tests.firefox.dev/test.html?test=browser/base/content/test/general/browser_backOrSidebarButtonFitts.js

You need to log in before you can comment on or make changes to this bug.