Bug: Intermittent browser/components/customizableui/test/browser_panel_keyboard_navigation.js | Pressing upwards should cycle around and select the first button again - [object XULFrameElement] == "undefined" - JS frame :: chrome://mochitests/content/brow
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-04-13 14:28:49+00:00
Resolved: 2022-07-25 23:09:39+00:00

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

---
```
task 2022-04-13T13:13:16.050Z] 13:13:16     INFO - TEST-START | browser/components/customizableui/test/browser_panel_keyboard_navigation.js
[task 2022-04-13T13:13:16.135Z] 13:13:16     INFO - GECKO(1613) | [Parent 1613, Main Thread] WARNING: 'mSelection.isNothing()', file /builds/worker/checkouts/gecko/widget/ContentCache.cpp:759
[task 2022-04-13T13:13:16.135Z] 13:13:16     INFO - GECKO(1613) | [Parent 1613, Main Thread] WARNING: '!mContentCache.HandleQueryContentEvent( aEvent, textInputHandlingWidget)', file /builds/worker/checkouts/gecko/dom/ipc/BrowserParent.cpp:3066
[task 2022-04-13T13:13:16.137Z] 13:13:16     INFO - TEST-INFO | started process screencapture
[task 2022-04-13T13:13:16.259Z] 13:13:16     INFO - TEST-INFO | screencapture: exit 0
[task 2022-04-13T13:13:16.259Z] 13:13:16     INFO - Buffered messages logged at 13:13:16
[task 2022-04-13T13:13:16.260Z] 13:13:16     INFO - Entering test bound testUpDownKeys
[task 2022-04-13T13:13:16.260Z] 13:13:16     INFO - TEST-PASS | browser/components/customizableui/test/browser_panel_keyboard_navigation.js | The panel is closed to begin with. - "closed" == "closed" - 
[task 2022-04-13T13:13:16.260Z] 13:13:16     INFO - Buffered messages finished
[task 2022-04-13T13:13:16.261Z] 13:13:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_panel_keyboard_navigation.js | Pressing upwards should cycle around and select the first button again - [object XULFrameElement] == "undefined" - JS frame :: chrome://mochitests/content/browser/browser/components/customizableui/test/browser_panel_keyboard_navigation.js :: testUpDownKeys :: line 39
[task 2022-04-13T13:13:16.261Z] 13:13:16     INFO - Stack trace:
[task 2022-04-13T13:13:16.261Z] 13:13:16     INFO - chrome://mochitests/content/browser/browser/components/customizableui/test/browser_panel_keyboard_navigation.js:testUpDownKeys:39
[task 2022-04-13T13:13:16.262Z] 13:13:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-04-13T13:13:16.263Z] 13:13:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_panel_keyboard_navigation.js | The panel is open to begin with. - false == true - JS frame :: resource://testing-common/CustomizableUITestUtils.jsm :: hidePanelMultiView :: line 81
[task 2022-04-13T13:13:16.263Z] 13:13:16     INFO - Stack trace:
[task 2022-04-13T13:13:16.263Z] 13:13:16     INFO - resource://testing-common/CustomizableUITestUtils.jsm:hidePanelMultiView:81
[task 2022-04-13T13:13:16.263Z] 13:13:16     INFO - resource://testing-common/CustomizableUITestUtils.jsm:hideMainMenu:103
[task 2022-04-13T13:13:16.263Z] 13:13:16     INFO - chrome://mochitests/content/browser/browser/components/customizableui/test/browser_panel_keyboard_navigation.js:testUpDownKeys:58
[task 2022-04-13T13:13:18.102Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1666e9800 == 19 [pid = 1613] [id = 153] [url = chrome://browser/content/browser.xhtml]
[task 2022-04-13T13:13:18.103Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 170311800 == 18 [pid = 1613] [id = 154] [url = about:blank]
[task 2022-04-13T13:13:18.103Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 12c513400 == 17 [pid = 1613] [id = 150] [url = chrome://browser/content/browser.xhtml]
[task 2022-04-13T13:13:18.103Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 16893f000 == 16 [pid = 1613] [id = 151] [url = about:blank]
[task 2022-04-13T13:13:18.104Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 12c793400 == 15 [pid = 1613] [id = 152] [url = chrome://global/content/commonDialog.xhtml]
[task 2022-04-13T13:13:18.104Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 12b375800 == 14 [pid = 1613] [id = 148] [url = chrome://browser/content/browser.xhtml]
[task 2022-04-13T13:13:18.105Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 12a975000 == 13 [pid = 1613] [id = 146] [url = chrome://browser/content/browser.xhtml]
[task 2022-04-13T13:13:18.105Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 170426c00 == 12 [pid = 1613] [id = 145] [url = about:blank]
[task 2022-04-13T13:13:18.106Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 166871000 == 11 [pid = 1613] [id = 143] [url = chrome://browser/content/browser.xhtml]
[task 2022-04-13T13:13:18.185Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 74 (12ea56600) [pid = 1613] [serial = 308] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.185Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 73 (12caa7c60) [pid = 1613] [serial = 302] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.186Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 72 (12b373800) [pid = 1613] [serial = 247] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.186Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 71 (12487e800) [pid = 1613] [serial = 257] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.186Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 70 (132d57c00) [pid = 1613] [serial = 268] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.187Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 69 (132d59400) [pid = 1613] [serial = 216] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.187Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 68 (16898d400) [pid = 1613] [serial = 301] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.188Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 67 (166583400) [pid = 1613] [serial = 299] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.188Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 66 (12b19a400) [pid = 1613] [serial = 264] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.189Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 65 (168d98400) [pid = 1613] [serial = 272] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.189Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 64 (133cbac00) [pid = 1613] [serial = 297] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.190Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 63 (12a98c800) [pid = 1613] [serial = 291] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.190Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 62 (122a12400) [pid = 1613] [serial = 295] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.190Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 61 (132430c00) [pid = 1613] [serial = 293] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.199Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 60 (17042fc00) [pid = 1613] [serial = 309] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.200Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 59 (1666e0c00) [pid = 1613] [serial = 303] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:18.200Z] 13:13:18     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 134066c00 == 10 [pid = 1613] [id = 159] [url = chrome://browser/content/browser.xhtml]
<...>
[task 2022-04-13T13:13:23.313Z] 13:13:23     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (12ea572b0) [pid = 1613] [serial = 337] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2022-04-13T13:13:23.726Z] 13:13:23     INFO - GECKO(1613) | [Child 1617: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (10141cc00) [pid = 1617] [serial = 173] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:23.727Z] 13:13:23     INFO - GECKO(1613) | [Child 1617: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (109b63000) [pid = 1617] [serial = 171] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:23.727Z] 13:13:23     INFO - GECKO(1613) | [Child 1617: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (11806e400) [pid = 1617] [serial = 177] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:23.727Z] 13:13:23     INFO - GECKO(1613) | [Child 1617: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (109b64000) [pid = 1617] [serial = 174] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:23.728Z] 13:13:23     INFO - GECKO(1613) | [Child 1617: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (109b5d400) [pid = 1617] [serial = 176] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:24.951Z] 13:13:24     INFO - GECKO(1613) | [Child 1624: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (11a054000) [pid = 1624] [serial = 38] [outer = 0] [url = about:blank]
[task 2022-04-13T13:13:27.559Z] 13:13:27     INFO - GECKO(1613) | [Parent 1613: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (1349bd400) [pid = 1613] [serial = 338] [outer = 0] [url = about:blank]
[task 2022-04-13T13:14:46.198Z] 13:14:46     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-04-13T13:14:46.199Z] 13:14:46     INFO - TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_panel_keyboard_navigation.js | Test timed out - 
[task 2022-04-13T13:14:46.201Z] 13:14:46     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-04-13T13:14:46.201Z] 13:14:46     INFO - TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_panel_keyboard_navigation.js | Uncaught exception received from previously timed out test - popuphidden listener on #appMenu-popup not removed before the end of test
[task 2022-04-13T13:14:46.202Z] 13:14:46     INFO - Entering test bound testHomeEndKeys
[task 2022-04-13T13:14:46.202Z] 13:14:46     INFO - TEST-PASS | browser/components/customizableui/test/browser_panel_keyboard_navigation.js | The panel is closed to begin with. - "closed" == "closed" - 
[task 2022-04-13T13:14:46.227Z] 13:14:46     INFO - GECKO(1613) | MEMORY STAT | vsize 16541MB | residentFast 500MB | heapAllocated 152MB
[task 2022-04-13T13:14:46.227Z] 13:14:46     INFO - TEST-OK | browser/components/customizableui/test/browser_panel_keyboard_navigation.js | took 90177ms
[task 2022-04-13T13:14:46.236Z] 13:14:46     INFO - GECKO(1613) | [Child 1615: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 11b433000 == 1 [pid = 1615] [id = 76]
[task 2022-04-13T13:14:46.237Z] 13:14:46     INFO - GECKO(1613) | [Child 1615: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (11b49df10) [pid = 1615] [serial = 167] [outer = 0]
[task 2022-04-13T13:14:46.237Z] 13:14:46     INFO - GECKO(1613) | [Child 1615: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (11b60dc00) [pid = 1615] [serial = 168] [outer = 11b49df10]
[task 2022-04-13T13:14:46.265Z] 13:14:46     INFO - checking window state
[task 2022-04-13T13:14:46.317Z] 13:14:46     INFO - TEST-START | browser/components/customizableui/test/browser_panel_locationSpecific.js

```