Bug: Intermittent browser/base/content/test/siteIdentity/browser_identityPopup_focus.js | learn more option for custom roots is focused - Got [object XULElement], expected [object XULTextElement]
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-03-02 18:42:28+00:00
Resolved: 2022-01-11 17:04:55+00:00

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

---
```
[task 2021-03-02T18:02:43.703Z] 18:02:43     INFO - TEST-START | browser/base/content/test/siteIdentity/browser_identityPopup_focus.js
[task 2021-03-02T18:02:43.799Z] 18:02:43     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7efee4e8cc00 == 5 [pid = 2909] [id = 51]
[task 2021-03-02T18:02:43.799Z] 18:02:43     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 11 (0x7efee7cc1ac0) [pid = 2909] [serial = 152] [outer = (nil)]
[task 2021-03-02T18:02:43.800Z] 18:02:43     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 12 (0x7efee6661400) [pid = 2909] [serial = 153] [outer = 0x7efee7cc1ac0]
[task 2021-03-02T18:02:43.825Z] 18:02:43     INFO - GECKO(2835) | [Child 3054: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (0x7f01e31abc00) [pid = 3054] [serial = 72] [outer = (nil)] [url = http://127.0.0.1/browser/browser/base/content/test/siteIdentity/file_csp_block_all_mixedcontent.html]
[task 2021-03-02T18:02:43.825Z] 18:02:43     INFO - GECKO(2835) | [Child 3054: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (0x7f01e237d800) [pid = 3054] [serial = 71] [outer = (nil)] [url = about:blank]
[task 2021-03-02T18:02:43.825Z] 18:02:43     INFO - GECKO(2835) | [Child 3054: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (0x7f01e2383000) [pid = 3054] [serial = 75] [outer = (nil)] [url = view-source:http://example.com/]
[task 2021-03-02T18:02:43.825Z] 18:02:43     INFO - GECKO(2835) | [Child 3054: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0x7f01e2379c00) [pid = 3054] [serial = 74] [outer = (nil)] [url = about:blank]
[task 2021-03-02T18:02:43.825Z] 18:02:43     INFO - GECKO(2835) | [Child 3054: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f01e237b000 == 1 [pid = 3054] [id = 21] [url = about:blank]
[task 2021-03-02T18:02:43.825Z] 18:02:43     INFO - GECKO(2835) | [Child 3054: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f01e2376800 == 0 [pid = 3054] [id = 22] [url = http://example.com/]
[task 2021-03-02T18:02:43.913Z] 18:02:43     INFO - GECKO(2835) | [Child 3054: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0x7f01e2559200) [pid = 3054] [serial = 78] [outer = (nil)] [url = http://example.com/]
[task 2021-03-02T18:02:43.914Z] 18:02:43     INFO - GECKO(2835) | [Child 3054: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (0x7f01e2559580) [pid = 3054] [serial = 76] [outer = (nil)] [url = about:blank]
[task 2021-03-02T18:02:44.056Z] 18:02:44     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 13 (0x7efee666cc00) [pid = 2909] [serial = 154] [outer = 0x7efee7cc1ac0]
[task 2021-03-02T18:02:44.293Z] 18:02:44     INFO - GECKO(2835) | [Parent 2835, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111 (NS_ERROR_NOT_AVAILABLE): file /builds/worker/checkouts/gecko/netwerk/cache/nsApplicationCacheService.cpp:180
[task 2021-03-02T18:02:44.308Z] 18:02:44     INFO - GECKO(2835) | [Parent 2835, Main Thread] WARNING: '!mPresContext', file /builds/worker/checkouts/gecko/dom/events/UIEvent.cpp:138
[task 2021-03-02T18:02:44.611Z] 18:02:44     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7efee6661c00 == 6 [pid = 2909] [id = 52]
[task 2021-03-02T18:02:44.614Z] 18:02:44     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 14 (0x7efee7cc1e40) [pid = 2909] [serial = 155] [outer = (nil)]
[task 2021-03-02T18:02:44.616Z] 18:02:44     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 15 (0x7efee6669000) [pid = 2909] [serial = 156] [outer = 0x7efee7cc1e40]
[task 2021-03-02T18:02:44.873Z] 18:02:44     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 16 (0x7efee6c16c00) [pid = 2909] [serial = 157] [outer = 0x7efee7cc1e40]
[task 2021-03-02T18:02:45.226Z] 18:02:45     INFO - GECKO(2835) | [Parent 2835, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111 (NS_ERROR_NOT_AVAILABLE): file /builds/worker/checkouts/gecko/netwerk/cache/nsApplicationCacheService.cpp:180
[task 2021-03-02T18:02:45.234Z] 18:02:45     INFO - GECKO(2835) | [Parent 2835, Main Thread] WARNING: '!mPresContext', file /builds/worker/checkouts/gecko/dom/events/UIEvent.cpp:138
[task 2021-03-02T18:02:45.451Z] 18:02:45     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7efee6669800 == 7 [pid = 2909] [id = 53]
[task 2021-03-02T18:02:45.452Z] 18:02:45     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 17 (0x7efee7f4b040) [pid = 2909] [serial = 158] [outer = (nil)]
[task 2021-03-02T18:02:45.452Z] 18:02:45     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 18 (0x7efee666b800) [pid = 2909] [serial = 159] [outer = 0x7efee7f4b040]
[task 2021-03-02T18:02:45.694Z] 18:02:45     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 19 (0x7efee6c18800) [pid = 2909] [serial = 160] [outer = 0x7efee7f4b040]
[task 2021-03-02T18:02:45.972Z] 18:02:45     INFO - GECKO(2835) | [Parent 2835, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111 (NS_ERROR_NOT_AVAILABLE): file /builds/worker/checkouts/gecko/netwerk/cache/nsApplicationCacheService.cpp:180
[task 2021-03-02T18:02:45.979Z] 18:02:45     INFO - GECKO(2835) | [Parent 2835, Main Thread] WARNING: '!mPresContext', file /builds/worker/checkouts/gecko/dom/events/UIEvent.cpp:138
[task 2021-03-02T18:02:46.143Z] 18:02:46     INFO - GECKO(2835) | [Parent 2835: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (0x7f2bb8993800) [pid = 2835] [serial = 131] [outer = (nil)] [url = about:blank]
[task 2021-03-02T18:02:46.144Z] 18:02:46     INFO - GECKO(2835) | [Parent 2835: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (0x7f2bb8acc800) [pid = 2835] [serial = 132] [outer = (nil)] [url = about:robots]
[task 2021-03-02T18:02:46.145Z] 18:02:46     INFO - GECKO(2835) | [Parent 2835: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (0x7f2bb898fc00) [pid = 2835] [serial = 134] [outer = (nil)] [url = about:blank]
[task 2021-03-02T18:02:46.145Z] 18:02:46     INFO - GECKO(2835) | [Parent 2835: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (0x7f2bd1679000) [pid = 2835] [serial = 140] [outer = (nil)] [url = about:blank]
[task 2021-03-02T18:02:46.145Z] 18:02:46     INFO - GECKO(2835) | [Parent 2835: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (0x7f2bcb2df800) [pid = 2835] [serial = 137] [outer = (nil)] [url = about:blank]
[task 2021-03-02T18:02:46.362Z] 18:02:46     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7efee6661c00 == 6 [pid = 2909] [id = 52] [url = https://example.com/]
[task 2021-03-02T18:02:46.363Z] 18:02:46     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7efee6662400 == 5 [pid = 2909] [id = 47] [url = about:blank]
[task 2021-03-02T18:02:46.363Z] 18:02:46     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7efee4e81400 == 4 [pid = 2909] [id = 48] [url = https://example.com/]
[task 2021-03-02T18:02:46.363Z] 18:02:46     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7efee4e84c00 == 3 [pid = 2909] [id = 49] [url = http://example.com/]
[task 2021-03-02T18:02:46.363Z] 18:02:46     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7efee4e86c00 == 2 [pid = 2909] [id = 50] [url = about:blank]
[task 2021-03-02T18:02:46.363Z] 18:02:46     INFO - GECKO(2835) | [Child 2909: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7efee4e8cc00 == 1 [pid = 2909] [id = 51] [url = https://example.com/]
[task 2021-03-02T18:02:46.591Z] 18:02:46     INFO - TEST-INFO | started process screentopng
[task 2021-03-02T18:02:46.997Z] 18:02:46     INFO - TEST-INFO | screentopng: exit 0
[task 2021-03-02T18:02:46.997Z] 18:02:46     INFO - Buffered messages logged at 18:02:43
[task 2021-03-02T18:02:46.997Z] 18:02:46     INFO - Entering test bound testIdentityPopupFocusClick
[task 2021-03-02T18:02:46.997Z] 18:02:46     INFO - Buffered messages logged at 18:02:44
[task 2021-03-02T18:02:46.997Z] 18:02:46     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_identityPopup_focus.js | undefined assertion name - 
[task 2021-03-02T18:02:46.997Z] 18:02:46     INFO - Leaving test bound testIdentityPopupFocusClick
[task 2021-03-02T18:02:46.997Z] 18:02:46     INFO - Entering test bound testIdentityPopupFocusKeyboard
[task 2021-03-02T18:02:46.997Z] 18:02:46     INFO - Buffered messages logged at 18:02:45
[task 2021-03-02T18:02:46.997Z] 18:02:46     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_identityPopup_focus.js | urlbar should be focused - 
[task 2021-03-02T18:02:46.997Z] 18:02:46     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_identityPopup_focus.js | undefined assertion name - 
[task 2021-03-02T18:02:46.997Z] 18:02:46     INFO - Leaving test bound testIdentityPopupFocusKeyboard
[task 2021-03-02T18:02:46.997Z] 18:02:46     INFO - Entering test bound testSiteSecurityTabOrder
[task 2021-03-02T18:02:46.997Z] 18:02:46     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_identityPopup_focus.js | urlbar should be focused - 
[task 2021-03-02T18:02:46.997Z] 18:02:46     INFO - Buffered messages logged at 18:02:46
[task 2021-03-02T18:02:46.997Z] 18:02:46     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_identityPopup_focus.js | undefined assertion name - 
[task 2021-03-02T18:02:46.998Z] 18:02:46     INFO - Buffered messages finished
[task 2021-03-02T18:02:46.999Z] 18:02:46     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/siteIdentity/browser_identityPopup_focus.js | learn more option for custom roots is focused - Got [object XULElement], expected [object XULTextElement]
[task 2021-03-02T18:02:46.999Z] 18:02:46     INFO - Stack trace:
[task 2021-03-02T18:02:46.999Z] 18:02:46     INFO - chrome://mochikit/content/browser-test.js:test_is:1359
[task 2021-03-02T18:02:47.000Z] 18:02:46     INFO - chrome://mochitests/content/browser/browser/base/content/test/siteIdentity/browser_identityPopup_focus.js:testSiteSecurityTabOrder/<:87
[task 2021-03-02T18:02:47.001Z] 18:02:46     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-03-02T18:02:47.001Z] 18:02:46     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/siteIdentity/browser_identityPopup_focus.js | more info button is focused - Got [object XULElement], expected [object XULElement]
[task 2021-03-02T18:02:47.002Z] 18:02:46     INFO - Stack trace:
[task 2021-03-02T18:02:47.002Z] 18:02:46     INFO - chrome://mochikit/content/browser-test.js:test_is:1359
[task 2021-03-02T18:02:47.002Z] 18:02:46     INFO - chrome://mochitests/content/browser/browser/base/content/test/siteIdentity/browser_identityPopup_focus.js:testSiteSecurityTabOrder/<:101
[task 2021-03-02T18:02:47.004Z] 18:02:46     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-03-02T18:02:47.004Z] 18:02:46     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/siteIdentity/browser_identityPopup_focus.js | back button is focused - Got [object XULTextElement], expected [object XULElement]
[task 2021-03-02T18:02:47.005Z] 18:02:46     INFO - Stack trace:
[task 2021-03-02T18:02:47.005Z] 18:02:46     INFO - chrome://mochikit/content/browser-test.js:test_is:1359
[task 2021-03-02T18:02:47.006Z] 18:02:46     INFO - chrome://mochitests/content/browser/browser/base/content/test/siteIdentity/browser_identityPopup_focus.js:testSiteSecurityTabOrder/<:118
[task 2021-03-02T18:02:47.006Z] 18:02:46     INFO - Leaving test bound testSiteSecurityTabOrder
[task 2021-03-02T18:02:47.007Z] 18:02:46     INFO - GECKO(2835) | MEMORY STAT | vsize 3229MB | residentFast 387MB | heapAllocated 131MB
[task 2021-03-02T18:02:47.008Z] 18:02:46     INFO - TEST-OK | browser/base/content/test/siteIdentity/browser_identityPopup_focus.js | took 3133ms
[task 2021-03-02T18:02:47.009Z] 18:02:46     INFO - GECKO(2835) | [Child 3054: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f01e2376800 == 1 [pid = 3054] [id = 23]
[task 2021-03-02T18:02:47.015Z] 18:02:47     INFO - GECKO(2835) | [Child 3054: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7f01e2559200) [pid = 3054] [serial = 81] [outer = (nil)]
[task 2021-03-02T18:02:47.016Z] 18:02:47     INFO - GECKO(2835) | [Child 3054: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x7f01e2378000) [pid = 3054] [serial = 82] [outer = 0x7f01e2559200]
[task 2021-03-02T18:02:47.017Z] 18:02:47     INFO - checking window state```