Bug: Intermittent [TV] browser/components/downloads/test/browser/browser_downloads_context_menu_always_open_similar_files.js | Uncaught exception in test - at resource://testing-common/BrowserTestUtils.jsm:295 - TypeError: can't access property "ownerGlobal",
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-03-10 16:45:04+00:00
Resolved: 2022-04-05 17:00:42+00:00

**Filed by:** smolnar [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=370553844&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/UqG-m9YCRnWIsigPHC3FbQ/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/UqG-m9YCRnWIsigPHC3FbQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_context_menu_always_open_similar_files.js | Created /tmp/Temp-5572c1b8-5450-4138-b2a6-408e19cb5a96/testsavedir2237230869/downloaded.txt - 
[task 2022-03-10T15:52:34.727Z] 15:52:34     INFO - Created downloaded text file at:/tmp/Temp-5572c1b8-5450-4138-b2a6-408e19cb5a96/testsavedir2237230869/downloaded.txt
[task 2022-03-10T15:52:34.728Z] 15:52:34     INFO - Setting path for download file
[task 2022-03-10T15:52:34.728Z] 15:52:34     INFO - Buffered messages logged at 15:52:34
[task 2022-03-10T15:52:34.729Z] 15:52:34     INFO - Download succeeded? true
[task 2022-03-10T15:52:34.729Z] 15:52:34     INFO - Download target exists? true
[task 2022-03-10T15:52:34.730Z] 15:52:34     INFO - Leaving test bound setup
[task 2022-03-10T15:52:34.730Z] 15:52:34     INFO - Entering test bound test_checkbox_useSystemDefault
[task 2022-03-10T15:52:34.731Z] 15:52:34     INFO - Console message: [JavaScript Error: "TypeError: can't access property "descriptionHeightWorkaround", mainPanelView is undefined" {file: "resource:///modules/PanelMultiView.jsm" line: 1259}]
[task 2022-03-10T15:52:34.731Z] 15:52:34     INFO - handleEvent@resource:///modules/PanelMultiView.jsm:1259:9
[task 2022-03-10T15:52:34.732Z] 15:52:34     INFO - 
[task 2022-03-10T15:52:34.733Z] 15:52:34     INFO - trigger the context menu
[task 2022-03-10T15:52:34.733Z] 15:52:34     INFO - Buffered messages finished
[task 2022-03-10T15:52:34.734Z] 15:52:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_downloads_context_menu_always_open_similar_files.js | Uncaught exception in test - at resource://testing-common/BrowserTestUtils.jsm:295 - TypeError: can't access property "ownerGlobal", element is null
[task 2022-03-10T15:52:34.734Z] 15:52:34     INFO - Stack trace:
[task 2022-03-10T15:52:34.734Z] 15:52:34     INFO - is_hidden@resource://testing-common/BrowserTestUtils.jsm:295:17
[task 2022-03-10T15:52:34.734Z] 15:52:34     INFO - test_checkbox_useSystemDefault@chrome://mochitests/content/browser/browser/components/downloads/test/browser/browser_downloads_context_menu_always_open_similar_files.js:107:23
[task 2022-03-10T15:52:34.734Z] 15:52:34     INFO - Leaving test bound test_checkbox_useSystemDefault
[task 2022-03-10T15:52:34.734Z] 15:52:34     INFO - Entering test bound test_checkbox_saveToDisk
[task 2022-03-10T15:53:18.943Z] 15:53:18     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-03-10T15:53:18.944Z] 15:53:18     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_downloads_context_menu_always_open_similar_files.js | Test timed out - 
[task 2022-03-10T15:53:18.946Z] 15:53:18     INFO - removing /tmp/dm-ui-test.file
[task 2022-03-10T15:53:18.947Z] 15:53:18     INFO - Resetting downloads and closing downloads panel
[task 2022-03-10T15:53:18.955Z] 15:53:18     INFO - removing /tmp/Temp-5572c1b8-5450-4138-b2a6-408e19cb5a96/downloaded.txt
[task 2022-03-10T15:53:18.959Z] 15:53:18     INFO - GECKO(19219) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2022-03-10T15:53:18.961Z] 15:53:18     INFO - GECKO(19219) | MEMORY STAT | vsize 3515MB | residentFast 460MB | heapAllocated 243MB
[task 2022-03-10T15:53:18.962Z] 15:53:18     INFO - TEST-OK | browser/components/downloads/test/browser/browser_downloads_context_menu_always_open_similar_files.js | took 45022ms
```