Bug: Intermittent browser/components/downloads/test/browser/browser_downloads_panel_block.js | single tracking bug
Status: NEW
Priority: P5
Created: 2023-06-28 08:56:08+00:00
Resolved: 2025-03-03 06:28:51+00:00

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

---
```
[task 2023-06-28T07:57:03.572Z] 07:57:03     INFO - TEST-START | browser/components/downloads/test/browser/browser_downloads_panel_block.js
[task 2023-06-28T07:57:04.771Z] 07:57:04     INFO - GECKO(26356) | JavaScript error: resource:///modules/PanelMultiView.sys.mjs, line 1191: TypeError: can't access property "GetAvailRect", screen is null
[task 2023-06-28T07:57:18.042Z] 07:57:18     INFO - GECKO(26356) | console.error: (new Error("Polling for changes failed: Unexpected content-type \"text/plain;charset=US-ASCII\".", "resource://services-settings/remote-settings.sys.mjs", 324))
[task 2023-06-28T07:57:49.395Z] 07:57:49     INFO - TEST-INFO | started process screentopng
[task 2023-06-28T07:57:49.634Z] 07:57:49     INFO - TEST-INFO | screentopng: exit 0
[task 2023-06-28T07:57:49.634Z] 07:57:49     INFO - Buffered messages logged at 07:57:03
[task 2023-06-28T07:57:49.635Z] 07:57:49     INFO - Entering test bound mainTest
[task 2023-06-28T07:57:49.635Z] 07:57:49     INFO - Open the panel and click the item to show the subview.
[task 2023-06-28T07:57:49.636Z] 07:57:49     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_block.js | "Uncommon" == true - 
[task 2023-06-28T07:57:49.636Z] 07:57:49     INFO - Go back to the main view.
[task 2023-06-28T07:57:49.637Z] 07:57:49     INFO - Show the subview again.
[task 2023-06-28T07:57:49.637Z] 07:57:49     INFO - Click the Open button.
[task 2023-06-28T07:57:49.638Z] 07:57:49     INFO - waiting for unblockOpen
[task 2023-06-28T07:57:49.638Z] 07:57:49     INFO - waiting for hide panel
[task 2023-06-28T07:57:49.639Z] 07:57:49     INFO - Reopen the panel and show the subview again.
[task 2023-06-28T07:57:49.639Z] 07:57:49     INFO - Click the Remove button.
[task 2023-06-28T07:57:49.640Z] 07:57:49     INFO - Waiting for hide panel
[task 2023-06-28T07:57:49.640Z] 07:57:49     INFO - Open the panel again and check the item is gone.
[task 2023-06-28T07:57:49.642Z] 07:57:49     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_block.js | true == true - 
[task 2023-06-28T07:57:49.642Z] 07:57:49     INFO - Open the panel and click the item to show the subview.
[task 2023-06-28T07:57:49.643Z] 07:57:49     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_block.js | "Malware" == true - 
[task 2023-06-28T07:57:49.643Z] 07:57:49     INFO - Go back to the main view.
[task 2023-06-28T07:57:49.644Z] 07:57:49     INFO - Show the subview again.
[task 2023-06-28T07:57:49.644Z] 07:57:49     INFO - Buffered messages logged at 07:57:04
[task 2023-06-28T07:57:49.645Z] 07:57:49     INFO - Click the Open button.
[task 2023-06-28T07:57:49.645Z] 07:57:49     INFO - waiting for unblockOpen
[task 2023-06-28T07:57:49.645Z] 07:57:49     INFO - waiting for hide panel
[task 2023-06-28T07:57:49.646Z] 07:57:49     INFO - Reopen the panel and show the subview again.
[task 2023-06-28T07:57:49.646Z] 07:57:49     INFO - Click the Remove button.
[task 2023-06-28T07:57:49.647Z] 07:57:49     INFO - Waiting for hide panel
[task 2023-06-28T07:57:49.647Z] 07:57:49     INFO - Open the panel again and check the item is gone.
[task 2023-06-28T07:57:49.648Z] 07:57:49     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_block.js | true == true - 
[task 2023-06-28T07:57:49.649Z] 07:57:49     INFO - Open the panel and click the item to show the subview.
[task 2023-06-28T07:57:49.649Z] 07:57:49     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_block.js | "PotentiallyUnwanted" == true - 
[task 2023-06-28T07:57:49.649Z] 07:57:49     INFO - Go back to the main view.
[task 2023-06-28T07:57:49.650Z] 07:57:49     INFO - Show the subview again.
[task 2023-06-28T07:57:49.650Z] 07:57:49     INFO - Click the Open button.
[task 2023-06-28T07:57:49.651Z] 07:57:49     INFO - waiting for unblockOpen
[task 2023-06-28T07:57:49.651Z] 07:57:49     INFO - waiting for hide panel
[task 2023-06-28T07:57:49.652Z] 07:57:49     INFO - Reopen the panel and show the subview again.
[task 2023-06-28T07:57:49.652Z] 07:57:49     INFO - Click the Remove button.
[task 2023-06-28T07:57:49.653Z] 07:57:49     INFO - Waiting for hide panel
[task 2023-06-28T07:57:49.655Z] 07:57:49     INFO - Open the panel again and check the item is gone.
[task 2023-06-28T07:57:49.655Z] 07:57:49     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_block.js | true == true - 
[task 2023-06-28T07:57:49.656Z] 07:57:49     INFO - Open the panel and click the item to show the subview.
[task 2023-06-28T07:57:49.657Z] 07:57:49     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_block.js | "Insecure" == true - 
[task 2023-06-28T07:57:49.657Z] 07:57:49     INFO - Go back to the main view.
[task 2023-06-28T07:57:49.659Z] 07:57:49     INFO - Show the subview again.
[task 2023-06-28T07:57:49.659Z] 07:57:49     INFO - Click the Open button.
[task 2023-06-28T07:57:49.659Z] 07:57:49     INFO - waiting for unblockOpen
[task 2023-06-28T07:57:49.661Z] 07:57:49     INFO - waiting for hide panel
[task 2023-06-28T07:57:49.661Z] 07:57:49     INFO - Reopen the panel and show the subview again.
[task 2023-06-28T07:57:49.661Z] 07:57:49     INFO - Click the Remove button.
[task 2023-06-28T07:57:49.662Z] 07:57:49     INFO - Waiting for hide panel
[task 2023-06-28T07:57:49.668Z] 07:57:49     INFO - Open the panel again and check the item is gone.
[task 2023-06-28T07:57:49.668Z] 07:57:49     INFO - Console message: [JavaScript Error: "TypeError: can't access property "GetAvailRect", screen is null" {file: "resource:///modules/PanelMultiView.sys.mjs" line: 1191}]
[task 2023-06-28T07:57:49.668Z] 07:57:49     INFO - _calculateMaxHeight@resource:///modules/PanelMultiView.sys.mjs:1191:5
[task 2023-06-28T07:57:49.668Z] 07:57:49     INFO - handleEvent@resource:///modules/PanelMultiView.sys.mjs:1261:32
[task 2023-06-28T07:57:49.669Z] 07:57:49     INFO - EventListener.handleEvent*connect@resource:///modules/PanelMultiView.sys.mjs:417:17
[task 2023-06-28T07:57:49.669Z] 07:57:49     INFO - openPopup/this._openPopupPromise<@resource:///modules/PanelMultiView.sys.mjs:542:16
[task 2023-06-28T07:57:49.669Z] 07:57:49     INFO - promise callback*openPopup@resource:///modules/PanelMultiView.sys.mjs:523:55
[task 2023-06-28T07:57:49.669Z] 07:57:49     INFO - openPopup@resource:///modules/PanelMultiView.sys.mjs:276:47
[task 2023-06-28T07:57:49.669Z] 07:57:49     INFO - _openPopupIfDataReady/<@chrome://browser/content/downloads/downloads.js:596:22
[task 2023-06-28T07:57:49.669Z] 07:57:49     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:920:41
[task 2023-06-28T07:57:49.669Z] 07:57:49     INFO - _openPopupIfDataReady@chrome://browser/content/downloads/downloads.js:595:15
[task 2023-06-28T07:57:49.669Z] 07:57:49     INFO - onViewLoadCompleted@chrome://browser/content/downloads/downloads.js:262:10
[task 2023-06-28T07:57:49.669Z] 07:57:49     INFO - onDownloadBatchEnded@chrome://browser/content/downloads/downloads.js:724:20
[task 2023-06-28T07:57:49.669Z] 07:57:49     INFO - _notifyAllViews@resource://gre/modules/DownloadList.sys.mjs:296:27
[task 2023-06-28T07:57:49.669Z] 07:57:49     INFO - addView@resource://gre/modules/DownloadList.sys.mjs:266:12
[task 2023-06-28T07:57:49.669Z] 07:57:49     INFO - addView/<@resource:///modules/DownloadsCommon.sys.mjs:921:41
[task 2023-06-28T07:57:49.669Z] 07:57:49     INFO - promise callback*addView@resource:///modules/DownloadsCommon.sys.mjs:921:23
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - initialize@chrome://browser/content/downloads/downloads.js:110:37
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - showPanel@chrome://browser/content/downloads/downloads.js:192:10
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - _notifyDownloadEvent@resource:///modules/DownloadsCommon.sys.mjs:998:31
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - onDownloadChanged@resource:///modules/DownloadsCommon.sys.mjs:900:12
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - _notifyAllViews@resource://gre/modules/DownloadList.sys.mjs:296:27
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - _change@resource://gre/modules/DownloadList.sys.mjs:221:10
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - D_notifyChange@resource://gre/modules/DownloadCore.sys.mjs:299:14
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - refresh/<@resource://gre/modules/DownloadCore.sys.mjs:1035:16
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - async*refresh@resource://gre/modules/DownloadCore.sys.mjs:1085:7
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - task_addDownloads@chrome://mochitests/content/browser/browser/components/downloads/test/browser/head.js:243:20
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - async*test_about_downloads@chrome://mochitests/content/browser/browser/components/downloads/test/browser/browser_about_downloads.js:15:9
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - 
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_block.js | true == true - 
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - Buffered messages finished
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_downloads_panel_block.js | Test timed out - 
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_downloads_panel_block.js | Uncaught exception received from previously timed out test bound mainTest - popuphidden listener on #downloadsPanel not removed before the end of test
[task 2023-06-28T07:57:49.670Z] 07:57:49     INFO - GECKO(26356) | MEMORY STAT | vsize 3610MB | residentFast 438MB | heapAllocated 343MB
[task 2023-06-28T07:57:49.671Z] 07:57:49     INFO - TEST-OK | browser/components/downloads/test/browser/browser_downloads_panel_block.js | took 45831ms
[task 2023-06-28T07:57:49.671Z] 07:57:49     INFO - checking window state
[task 2023-06-28T07:57:49.671Z] 07:57:49     INFO - TEST-START | browser/components/downloads/test/browser/browser_downloads_panel_context_menu.js
```