Bug: Intermittent [TV] browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | Uncaught exception - undefined - timed out after 50 tries.
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-01-12 15:15:55+00:00
Resolved: 2022-02-08 17:05:53+00:00

**Filed by:** nbeleuzu [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=363838562&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TItkFHZJQDKnIIh-0VeZPw/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TItkFHZJQDKnIIh-0VeZPw/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2022-01-12T11:36:19.861Z] 11:36:19     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | downloaded.txt should exist - 
[task 2022-01-12T11:36:19.861Z] 11:36:19     INFO - file path: /var/folders/zd/5f30g00s0t37rbr_5cg61cg4000014/T/downloaded.txt
[task 2022-01-12T11:36:19.862Z] 11:36:19     INFO - Buffered messages finished
[task 2022-01-12T11:36:19.863Z] 11:36:19     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | Uncaught exception - undefined - timed out after 50 tries.
[task 2022-01-12T11:36:19.863Z] 11:36:19     INFO - Leaving test bound test_download_deleteFile
[task 2022-01-12T11:36:19.864Z] 11:36:19     INFO - removing /var/folders/zd/5f30g00s0t37rbr_5cg61cg4000014/T/dm-ui-test.file
[task 2022-01-12T11:36:19.864Z] 11:36:19     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-01-12T11:36:19.865Z] 11:36:19     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | A promise chain failed to handle a rejection: popuphidden listener on #downloadsPanel not removed before the end of test - stack: (No stack available.)
[task 2022-01-12T11:36:19.865Z] 11:36:19     INFO - Rejection date: Wed Jan 12 2022 11:36:19 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-01-12T11:36:19.866Z] 11:36:19     INFO - Stack trace:
[task 2022-01-12T11:36:19.866Z] 11:36:19     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-01-12T11:36:19.866Z] 11:36:19     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2022-01-12T11:36:19.866Z] 11:36:19     INFO - GECKO(1977) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 120: uncaught exception: popuphidden listener on #downloadsPanel not removed before the end of test
[task 2022-01-12T11:36:19.867Z] 11:36:19     INFO - Console message: [JavaScript Error: "uncaught exception: popuphidden listener on #downloadsPanel not removed before the end of test" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 120}]
[task 2022-01-12T11:36:19.868Z] 11:36:19     INFO - GECKO(1977) | MEMORY STAT | vsize 16058MB | residentFast 329MB | heapAllocated 113MB
[task 2022-01-12T11:36:19.868Z] 11:36:19     INFO - TEST-OK | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | took 9246ms
```