Closed Bug 2062444 Opened 3 months ago Closed 2 months ago

Perma [tier 2] browser/components/sidebar/tests/browser/browser_opentabs_hover_preview.js | single tracking bug

Categories

(Firefox :: Sidebar, defect, P5)

defect

Tracking

()

RESOLVED FIXED
157 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox-esr153 --- unaffected
firefox153 --- unaffected
firefox154 --- unaffected
firefox155 --- wontfix
firefox156 --- wontfix
firefox157 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: florian)

References

(Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [collect_confirm_failure])

Attachments

(1 external file)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=584345549&repo=autoland&task=EIRr1PKSSQGSwBv8oWP_gA.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/EIRr1PKSSQGSwBv8oWP_gA/runs/0/artifacts/public/logs/live_backing.log


[task 2026-08-10T21:49:32.718+00:00] 21:49:32     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_opentabs_hover_preview.js | test_close_button_closes_tab - The tab appears in the preview. - {} == true
[task 2026-08-10T21:49:32.718+00:00] 21:49:32     INFO - Buffered messages finished
[task 2026-08-10T21:49:32.720+00:00] 21:49:32     INFO - TEST-UNEXPECTED-FAIL | browser/components/sidebar/tests/browser/browser_opentabs_hover_preview.js | test_close_button_closes_tab - Node is not focusable via the accessibility API: id: , tagName: div, className: preview-row
[task 2026-08-10T21:49:32.720+00:00] 21:49:32     INFO - chrome://mochikit/content/browser-test.js:test_ok:1914
[task 2026-08-10T21:49:32.720+00:00] 21:49:32     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:a11yFail:815
[task 2026-08-10T21:49:32.720+00:00] 21:49:32     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertFocusable:864
[task 2026-08-10T21:49:32.721+00:00] 21:49:32     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertCanBeClicked:1236
[task 2026-08-10T21:49:32.721+00:00] 21:49:32     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:runIfA11YChecks/this.AccessibilityUtils:1203
[task 2026-08-10T21:49:32.721+00:00] 21:49:32     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:handleEvent:1326
[task 2026-08-10T21:49:32.721+00:00] 21:49:32     INFO - chrome://global/content/elements/moz-button.mjs:click:313
[task 2026-08-10T21:49:32.721+00:00] 21:49:32     INFO - chrome://mochitests/content/browser/browser/components/sidebar/tests/browser/browser_opentabs_hover_preview.js:test_close_button_closes_tab:156
[task 2026-08-10T21:49:32.721+00:00] 21:49:32     INFO - async*chrome://mochikit/content/browser-test.js:handleTask:1399
[task 2026-08-10T21:49:32.721+00:00] 21:49:32     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1489
[task 2026-08-10T21:49:32.721+00:00] 21:49:32     INFO - async*chrome://mochikit/content/browser-test.js:Tester_execTest:1641
[task 2026-08-10T21:49:32.721+00:00] 21:49:32     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1379
[task 2026-08-10T21:49:32.721+00:00] 21:49:32     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1060
[task 2026-08-10T21:49:32.721+00:00] 21:49:32     INFO - promise callback*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus:1059
[task 2026-08-10T21:49:32.721+00:00] 21:49:32     INFO - chrome://mochikit/content/browser-test.js:nextTest:1278
[task 2026-08-10T21:49:32.721+00:00] 21:49:32     INFO - async*chrome://mochikit/content/browser-test.js:testScope/test_finish/<:2125
[task 2026-08-10T21:49:32.721+00:00] 21:49:32     INFO - chrome://mochikit/content/browser-test.js:run:2048
[task 2026-08-10T21:49:32.722+00:00] 21:49:32     INFO - Console message: [JavaScript Warning: "Empty string passed to getElementById()." {file: "chrome://browser/content/browser.xhtml" line: 0}]
[task 2026-08-10T21:49:32.722+00:00] 21:49:32     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_opentabs_hover_preview.js | test_close_button_closes_tab - The close button closed the tab. - true == true
[task 2026-08-10T21:49:32.723+00:00] 21:49:32     INFO - GECKO(30535) | [Parent 30535, Main Thread] WARNING: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed: 'glib warning', file checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:200
[task 2026-08-10T21:49:32.724+00:00] 21:49:32     INFO - GECKO(30535) | (firefox-default:30535): GLib-GObject-CRITICAL **: 21:49:32.621: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed
[task 2026-08-10T21:49:32.724+00:00] 21:49:32     INFO - Leaving test test_close_button_closes_tab
[task 2026-08-10T21:49:32.725+00:00] 21:49:32     INFO - Entering test test_show_all_opens_the_panel
[task 2026-08-10T21:49:32.726+00:00] 21:49:32     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "data:text/html,<title>ShowAll</title>" line: 0}]
[task 2026-08-10T21:49:32.730+00:00] 21:49:32     INFO - GECKO(30535) | [Parent 30535, Main Thread] WARNING: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed: 'glib warning', file checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:200
[task 2026-08-10T21:49:32.730+00:00] 21:49:32     INFO - GECKO(30535) | (firefox-default:30535): GLib-GObject-CRITICAL **: 21:49:32.728: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed
[task 2026-08-10T21:49:32.731+00:00] 21:49:32     INFO - GECKO(30535) | [Parent 30535, Main Thread] WARNING: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed: 'glib warning', file checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:200
[task 2026-08-10T21:49:32.732+00:00] 21:49:32     INFO - GECKO(30535) | (firefox-default:30535): GLib-GObject-CRITICAL **: 21:49:32.728: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed
[task 2026-08-10T21:49:32.733+00:00] 21:49:32     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_opentabs_hover_preview.js | test_show_all_opens_the_panel - Show all opens the Open Tabs panel. - "viewOpenTabsSidebar" == "viewOpenTabsSidebar"
[task 2026-08-10T21:49:32.752+00:00] 21:49:32     INFO - Leaving test test_show_all_opens_the_panel
[task 2026-08-10T21:49:32.753+00:00] 21:49:32     INFO - Entering test test_preview_respects_pref
[task 2026-08-10T21:49:32.762+00:00] 21:49:32     INFO - Console message: [JavaScript Warning: "Empty string passed to getElementById()." {file: "chrome://browser/content/browser.xhtml" line: 0}]
[task 2026-08-10T21:49:32.775+00:00] 21:49:32     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_opentabs_hover_preview.js | test_preview_respects_pref - The preview does not open while the hover preview pref is off. - "closed" == "closed"
[task 2026-08-10T21:49:32.781+00:00] 21:49:32     INFO - Leaving test test_preview_respects_pref
[task 2026-08-10T21:49:32.782+00:00] 21:49:32     INFO - Entering test test_audio_button_mutes_tab
[task 2026-08-10T21:49:32.811+00:00] 21:49:32     INFO - GECKO(30535) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp4ijv6x78.mozrunner/runtests_leaks_tab_pid31088.log
[task 2026-08-10T21:49:32.812+00:00] 21:49:32     INFO - GECKO(30535) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp4ijv6x78.mozrunner/runtests_leaks_tab_pid31088.log
[task 2026-08-10T21:49:32.826+00:00] 21:49:32     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "data:text/html,<title>Audible</title>" line: 0}]
[task 2026-08-10T21:49:32.870+00:00] 21:49:32     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_opentabs_hover_preview.js | test_audio_button_mutes_tab - A tab with audio shows the mute button. - [object HTMLElement] == true
[task 2026-08-10T21:49:32.872+00:00] 21:49:32     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_opentabs_hover_preview.js | test_audio_button_mutes_tab - The button muted the tab. - true == true
[task 2026-08-10T21:49:32.893+00:00] 21:49:32     INFO - Leaving test test_audio_button_mutes_tab
[task 2026-08-10T21:49:32.918+00:00] 21:49:32     INFO - Console message: [JavaScript Warning: "Empty string passed to getElementById()." {file: "chrome://browser/content/browser.xhtml" line: 0}]
[task 2026-08-10T21:49:32.924+00:00] 21:49:32     INFO - GECKO(30535) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp4ijv6x78.mozrunner/runtests_leaks_tab_pid31128.log
[task 2026-08-10T21:49:32.925+00:00] 21:49:32     INFO - GECKO(30535) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp4ijv6x78.mozrunner/runtests_leaks_tab_pid31128.log
[task 2026-08-10T21:49:32.926+00:00] 21:49:32     INFO - GECKO(30535) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp4ijv6x78.mozrunner/runtests_leaks_tab_pid31131.log
[task 2026-08-10T21:49:32.926+00:00] 21:49:32     INFO - GECKO(30535) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp4ijv6x78.mozrunner/runtests_leaks_tab_pid31131.log
[task 2026-08-10T21:49:33.246+00:00] 21:49:33     INFO - GECKO(30535) | MEMORY STAT | vsize 11829MB | residentFast 530MB | heapAllocated 302MB
[task 2026-08-10T21:49:34.081+00:00] 21:49:34     INFO - Not taking screenshot here: see the one that was previously logged
[task 2026-08-10T21:49:34.081+00:00] 21:49:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/sidebar/tests/browser/browser_opentabs_hover_preview.js | profile uploaded in profile_browser_opentabs_hover_preview-2.js.json
[task 2026-08-10T21:49:34.082+00:00] 21:49:34     INFO - checking for open sidebars
[task 2026-08-10T21:49:34.082+00:00] 21:49:34     INFO - checking window state
[task 2026-08-10T21:49:34.083+00:00] 21:49:34     INFO - Not taking screenshot here: see the one that was previously logged
[task 2026-08-10T21:49:34.083+00:00] 21:49:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/sidebar/tests/browser/browser_opentabs_hover_preview.js | finished in 2400ms
[task 2026-08-10T21:49:34.083+00:00] 21:49:34     INFO - TEST-INFO took 2404ms
[task 2026-08-10T21:49:34.169+00:00] 21:49:34     INFO - TEST-START | browser/components/sidebar/tests/browser/browser_tools_overflow.js

:dr.seed.lu, since you are the author of the regressor, bug 2039601, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(dr.seed.lu)

Set release status flags based on info from the regressing bug 2039601

See Also: → 2067077
Depends on: 2067078

The close button is visibility:hidden until its row is hovered, so clicking it
without hovering leaves it with no accessible and the a11y checks fall back to
the .preview-row ancestor, a non-focusable role="button" tracked in bug 2067077.

The launcher button has no layout until it has rendered, so a mousemove
synthesized at its centre as soon as it appears in the shadow DOM lands beside
it and the preview never opens. Awaiting its render is not enough, as the
launcher keeps reflowing around it: retry the hover until the button reports
:hover, moving the pointer away first when it is already there.

Assignee: nobody → florian
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 2039601

The following patch is waiting for review from an inactive reviewer:

ID Title Author Reviewer Status
D321902 Bug 2062444 - Make browser_opentabs_hover_preview.js hover the launcher button and the preview row reliably, r=#sidebar-reviewers-rotation. florian sclements: Back Sep 8, 2026

:florian, could you please find another reviewer?

For more information, please visit BugBot documentation.

Flags: needinfo?(florian)

(In reply to BugBot [:suhaib / :marco] from comment #18)

The following patch is waiting for review from an inactive reviewer:

:florian, could you please find another reviewer?

I changed the reviewer and filed bug 2067658.

Flags: needinfo?(florian)
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ba43578cfbac https://hg.mozilla.org/integration/autoland/rev/26aa9ad510c5 Make browser_opentabs_hover_preview.js hover the launcher button and the preview row reliably, r=sfoster.
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch

The patch landed in nightly and beta is affected.
:florian, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(florian)

(In reply to BugBot [:suhaib / :marco] from comment #27)

The patch landed in nightly and beta is affected.
:florian, is this bug important enough to require an uplift?

It's a test-only fix, so definitely doesn't require an uplift. It could be uplifted if making the beta tree greener is desired. But with the shorter trains, we might not care anymore.

Flags: needinfo?(florian)
Flags: needinfo?(dr.seed.lu)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: