Bug: Intermittent browser/components/downloads/test/browser/browser_downloads_panel_disable_items.js | openDownload was called when it was not expected -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-12-24 03:15:15+00:00
Resolved: 2022-05-17 17:00:56+00:00

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

---
```
[task 2021-12-24T02:06:45.403Z] 02:06:45     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_disable_items.js | All download items in the downloads panel should first be disabled - 
[task 2021-12-24T02:06:45.403Z] 02:06:45     INFO - Buffered messages finished
[task 2021-12-24T02:06:45.405Z] 02:06:45     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_downloads_panel_disable_items.js | openDownload was called when it was not expected - 
[task 2021-12-24T02:06:45.405Z] 02:06:45     INFO - Stack trace:
[task 2021-12-24T02:06:45.405Z] 02:06:45     INFO - chrome://mochikit/content/browser-test.js:test_ok:1375
[task 2021-12-24T02:06:45.405Z] 02:06:45     INFO - chrome://mochitests/content/browser/browser/components/downloads/test/browser/browser_downloads_panel_disable_items.js:test_downloads_panel_new_download/DownloadsCommon.openDownload:70
[task 2021-12-24T02:06:45.406Z] 02:06:45     INFO - resource:///modules/DownloadsViewUI.jsm:downloadsCmd_open:1016
[task 2021-12-24T02:06:45.406Z] 02:06:45     INFO - chrome://browser/content/downloads/downloads.js:downloadsCmd_open:1177
[task 2021-12-24T02:06:45.406Z] 02:06:45     INFO - chrome://browser/content/downloads/downloads.js:doCommand:1151
[task 2021-12-24T02:06:45.406Z] 02:06:45     INFO - chrome://browser/content/downloads/downloads.js:downloadsCmd_doDefault:1241
[task 2021-12-24T02:06:45.406Z] 02:06:45     INFO - chrome://browser/content/downloads/downloads.js:doCommand:1151
[task 2021-12-24T02:06:45.406Z] 02:06:45     INFO - chrome://browser/content/downloads/downloads.js:doCommand:1326
[task 2021-12-24T02:06:45.406Z] 02:06:45     INFO - chrome://global/content/globalOverlay.js:goDoCommand:128
[task 2021-12-24T02:06:45.406Z] 02:06:45     INFO - chrome://browser/content/downloads/downloads.js:onDownloadKeyPress:964
[task 2021-12-24T02:06:45.406Z] 02:06:45     INFO - chrome://browser/content/downloads/downloads.js:_onKeyPress:460
[task 2021-12-24T02:06:45.406Z] 02:06:45     INFO - chrome://browser/content/downloads/downloads.js:handleEvent:337
[task 2021-12-24T02:06:45.406Z] 02:06:45     INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeKey:1361
[task 2021-12-24T02:06:45.406Z] 02:06:45     INFO - chrome://mochitests/content/browser/browser/components/downloads/test/browser/browser_downloads_panel_disable_items.js:test_downloads_panel_new_download:93
[task 2021-12-24T02:06:45.407Z] 02:06:45     INFO - GECKO(7472) | [Parent 1996, Main Thread] WARNING: NS_ENSURE_TRUE(parentPresShell) failed: file /builds/worker/checkouts/gecko/layout/base/PresShell.cpp:6678
[task 2021-12-24T02:06:45.407Z] 02:06:45     INFO - All download items in the download panel should now be enabled
[task 2021-12-24T02:06:45.408Z] 02:06:45     INFO - GECKO(7472) | [Parent 1996, Main Thread] WARNING: '!IsSelectionValid()', file /builds/worker/checkouts/gecko/widget/ContentCache.cpp:667
[task 2021-12-24T02:06:45.408Z] 02:06:45     INFO - GECKO(7472) | [Parent 1996, Main Thread] WARNING: '!mContentCache.HandleQueryContentEvent( aEvent, textInputHandlingWidget)', file /builds/worker/checkouts/gecko/dom/ipc/BrowserParent.cpp:3052
[task 2021-12-24T02:06:45.409Z] 02:06:45     INFO - removing C:\Users\task_164031014064539\AppData\LocalLow\Mozilla\Temp-{755619be-46c4-4e71-b346-568fbb6d4085}\testsavedir3160046289\foo.txt
[task 2021-12-24T02:06:45.409Z] 02:06:45     INFO - Leaving test bound test_downloads_panel_new_download
[task 2021-12-24T02:06:45.409Z] 02:06:45     INFO - Entering test bound test_downloads_panel_close_panel_early
[task 2021-12-24T02:06:45.410Z] 02:06:45     INFO - Creating mock completed downloads
[task 2021-12-24T02:06:45.410Z] 02:06:45     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_disable_items.js | Downloads Panel should not be visible - 
```