Bug: Perma a11y-checks [tier 2] browser/components/firefoxview/tests/browser/browser_history_firefoxview.js | Node is not focusable via the accessibility API: id: , tagName: BUTTON, className:  -
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2024-03-05 11:06:07+00:00
Resolved: 2024-03-11 06:31:40+00:00

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

---
```
[task 2024-03-05T10:08:34.753Z] 10:08:34     INFO - TEST-START | browser/components/firefoxview/tests/browser/browser_history_firefoxview.js
[task 2024-03-05T10:08:35.426Z] 10:08:35     INFO - TEST-INFO | started process screentopng
[task 2024-03-05T10:08:36.139Z] 10:08:36     INFO - TEST-INFO | screentopng: exit 0
[task 2024-03-05T10:08:36.139Z] 10:08:36     INFO - Buffered messages logged at 10:08:34
[task 2024-03-05T10:08:36.139Z] 10:08:36     INFO - Entering setup bound 
[task 2024-03-05T10:08:36.139Z] 10:08:36     INFO - Leaving setup bound 
[task 2024-03-05T10:08:36.139Z] 10:08:36     INFO - Entering test bound test_list_ordering
[task 2024-03-05T10:08:36.141Z] 10:08:36     INFO - Buffered messages logged at 10:08:35
[task 2024-03-05T10:08:36.141Z] 10:08:36     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_history_firefoxview.js | Firefox View tab exists - "[object XULElement]" == true - 
[task 2024-03-05T10:08:36.141Z] 10:08:36     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_history_firefoxview.js | Firefox View tab is hidden - true == true - 
[task 2024-03-05T10:08:36.141Z] 10:08:36     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_history_firefoxview.js | Firefox View tab is not in the list of visible tabs - -1 == -1 - 
[task 2024-03-05T10:08:36.141Z] 10:08:36     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_history_firefoxview.js | Firefox View tab is selected - true == true - 
[task 2024-03-05T10:08:36.144Z] 10:08:36     INFO - openFirefoxViewTab, waiting for complete readyState, visible and firefoxview-entered
[task 2024-03-05T10:08:36.146Z] 10:08:36     INFO - Console message: 1709633315275	FirefoxView.TabsSetup	DEBUG	updateViewVisibility for instance: 7280826, visibility: closed
[task 2024-03-05T10:08:36.146Z] 10:08:36     INFO - Console message: 1709633315275	FirefoxView.TabsSetup	DEBUG	Resetting timestamp and tabs pending flags as there are no visible views
[task 2024-03-05T10:08:36.146Z] 10:08:36     INFO - openFirefoxViewTab, ready resolved
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - navigateToViewAndWait, for history
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - Buffered messages finished
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/browser_history_firefoxview.js | Node is not focusable via the accessibility API: id: , tagName: BUTTON, className:  - 
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - Stack trace:
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochikit/content/browser-test.js:test_ok:1592
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:a11yFail:747
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertFocusable:794
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertCanBeClicked:1115
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:runIfA11YChecks/this.AccessibilityUtils:1082
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:handleEvent:1199
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouseAtPoint:758
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouse:565
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouseAtCenter:846
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/head.js:navigateToViewAndWait:566
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/browser_history_firefoxview.js:test_list_ordering/<:189
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - resource://testing-common/FirefoxViewTestUtils.sys.mjs:withFirefoxView:143
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/browser_history_firefoxview.js:test_list_ordering:186
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-03-05T10:08:36.154Z] 10:08:36     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-03-05T10:08:36.155Z] 10:08:36     INFO - Console message: 1709633315451	FirefoxView.TabsSetup	DEBUG	updateViewVisibility for instance: 7280826, visibility: unloaded
[task 2024-03-05T10:08:36.163Z] 10:08:36     INFO - Console message: 1709633315451	FirefoxView.TabsSetup	DEBUG	Resetting timestamp and tabs pending flags as there are no visible views
[task 2024-03-05T10:08:36.164Z] 10:08:36     INFO - Console message: 1709633315451	FirefoxView.TabsSetup	DEBUG	updateViewVisibility for instance: 7280826, visibility: hidden
[task 2024-03-05T10:08:36.165Z] 10:08:36     INFO - Console message: 1709633315452	FirefoxView.TabsSetup	DEBUG	Resetting timestamp and tabs pending flags as there are no visible views
[task 2024-03-05T10:08:36.165Z] 10:08:36     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_history_firefoxview.js | Total number of cards should be 1 - 
[task 2024-03-05T10:08:36.166Z] 10:08:36     INFO - The first card should have a header for 'Today'.
[task 2024-03-05T10:08:36.167Z] 10:08:36     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_history_firefoxview.js | parent must be in snapshot. Has [parent]. - true == true - 
[task 2024-03-05T10:08:36.178Z] 10:08:36     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_history_firefoxview.js | After filtering we must have the expected number of events. Filtered events: [["firefoxview_next","history","visits",null,null]] - 1 == 1 - 
```