Bug: Intermittent browser/components/downloads/test/browser/browser_downloads_panel_focus.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-06-27 18:14:57+00:00
Resolved: 2025-02-10 12:04:06+00:00

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

---
```
[task 2023-06-27T17:27:12.550Z] 17:27:12     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_focus.js | the downloads list should have focus - 
[task 2023-06-27T17:27:12.550Z] 17:27:12     INFO - Buffered messages finished
[task 2023-06-27T17:27:12.558Z] 17:27:12     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_downloads_panel_focus.js | the focused item should be the first download in the list - Got [object XULElement], expected [object XULElement]
[task 2023-06-27T17:27:12.558Z] 17:27:12     INFO - Stack trace:
[task 2023-06-27T17:27:12.558Z] 17:27:12     INFO - chrome://mochikit/content/browser-test.js:test_is:1608
[task 2023-06-27T17:27:12.558Z] 17:27:12     INFO - chrome://mochitests/content/browser/browser/components/downloads/test/browser/browser_downloads_panel_focus.js:test_focus:77
[task 2023-06-27T17:27:12.558Z] 17:27:12     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-06-27T17:27:12.558Z] 17:27:12     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-06-27T17:27:12.558Z] 17:27:12     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-06-27T17:27:12.558Z] 17:27:12     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-06-27T17:27:12.558Z] 17:27:12     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-06-27T17:27:12.558Z] 17:27:12     INFO - closing the panel and creating a third download
[task 2023-06-27T17:27:12.558Z] 17:27:12     INFO - waiting for the panel to open after starting the third download
[task 2023-06-27T17:27:12.714Z] 17:27:12     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_focus.js | there should be three downloads listed - 
[task 2023-06-27T17:27:12.714Z] 17:27:12     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_focus.js | the downloads list should have focus - 
[task 2023-06-27T17:27:12.714Z] 17:27:12     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_focus.js | the focused item should be the first download in the list - 
[task 2023-06-27T17:27:12.714Z] 17:27:12     INFO - Leaving test bound test_focus
[task 2023-06-27T17:27:12.714Z] 17:27:12     INFO - removing C:\Users\task_168788534577637\AppData\Local\Temp\dm-ui-test.file
[task 2023-06-27T17:27:12.714Z] 17:27:12     INFO - Resetting downloads and closing downloads panel
[task 2023-06-27T17:27:13.323Z] 17:27:13     INFO - GECKO(4888) | MEMORY STAT | vsize 1228MB | vsizeMaxContiguous 376MB | residentFast 350MB | heapAllocated 396MB
[task 2023-06-27T17:27:13.323Z] 17:27:13     INFO - TEST-OK | browser/components/downloads/test/browser/browser_downloads_panel_focus.js | took 1153ms
[task 2023-06-27T17:27:13.347Z] 17:27:13     INFO - checking window state
[task 2023-06-27T17:27:13.402Z] 17:27:13     INFO - TEST-START | browser/components/downloads/test/browser/browser_downloads_panel_height.js
```