Bug: Intermittent TV browser/components/urlbar/tests/browser/browser_searchModeSwitcher_opensearchInstall.js | Found an unexpected tab at the end of test run: http://mochi.test:8888/browser/browser/components/search/test/browser/opensearch.html -
Status: NEW
Priority: P5
Created: 2024-12-03 19:15:13+00:00
Resolved: 2025-02-10 10:50:42+00:00

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

---
```
[task 2024-12-03T18:05:32.196Z] 18:05:32     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_searchModeSwitcher_opensearchInstall.js | took 4025ms
[task 2024-12-03T18:05:32.198Z] 18:05:32     INFO - TEST-INFO | started process screentopng
[task 2024-12-03T18:05:32.355Z] 18:05:32     INFO - TEST-INFO | screentopng: exit 0
[task 2024-12-03T18:05:32.356Z] 18:05:32     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchModeSwitcher_opensearchInstall.js | Found an unexpected tab at the end of test run: http://mochi.test:8888/browser/browser/components/search/test/browser/opensearch.html - 
[task 2024-12-03T18:05:32.356Z] 18:05:32     INFO - GECKO(2837) | [Child 2967: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fd5fa079000 == 2 [pid = 2967] [id = 1]
[task 2024-12-03T18:05:32.357Z] 18:05:32     INFO - GECKO(2837) | [Child 2967: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (7fd5f972e200) [pid = 2967] [serial = 5] [outer = 0]
[task 2024-12-03T18:05:32.358Z] 18:05:32     INFO - GECKO(2837) | [Child 2967: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (7fd5fa07a000) [pid = 2967] [serial = 6] [outer = 7fd5f972e200]
[task 2024-12-03T18:05:32.358Z] 18:05:32     INFO - checking window state
[task 2024-12-03T18:05:32.359Z] 18:05:32     INFO - GECKO(2837) | [Parent 2837: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 15 (7fcffbee9400) [pid = 2837] [serial = 15] [outer = 7fd024e87400]
[task 2024-12-03T18:05:32.470Z] 18:05:32     INFO - GECKO(2837) | [Child 2967: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fd5fa071c00 == 1 [pid = 2967] [id = 0] [url = about:blank]
[task 2024-12-03T18:05:32.481Z] 18:05:32     INFO - GECKO(2837) | [Child 3024: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fd5fa070800 == 0 [pid = 3024] [id = 0] [url = about:blank]
[task 2024-12-03T18:05:32.485Z] 18:05:32     INFO - GECKO(2837) | [Child 2967: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7fd5f9730200) [pid = 2967] [serial = 1] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:32.505Z] 18:05:32     INFO - GECKO(2837) | [Child 2967: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7fd5fa078800) [pid = 2967] [serial = 4] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:32.506Z] 18:05:32     INFO - GECKO(2837) | [Child 2967: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7fd5fa072000) [pid = 2967] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:32.507Z] 18:05:32     INFO - GECKO(2837) | [Child 2967: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7fd5fa073000) [pid = 2967] [serial = 3] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:32.589Z] 18:05:32     INFO - GECKO(2837) | [Child 3091: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fd5fa095800 == 0 [pid = 3091] [id = 0] [url = about:newtab]
[task 2024-12-03T18:05:32.666Z] 18:05:32     INFO - GECKO(2837) | [Child 2927: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fd5fa064c00 == 5 [pid = 2927] [id = 2] [url = moz-extension://90fedaa1-0e46-4082-b5af-e32c659c606d/_generated_background_page.html]
[task 2024-12-03T18:05:32.672Z] 18:05:32     INFO - GECKO(2837) | [Child 3091: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7fd5fa092c00) [pid = 3091] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:32.764Z] 18:05:32     INFO - GECKO(2837) | [Child 2927: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (7fd5fa066000) [pid = 2927] [serial = 10] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:32.765Z] 18:05:32     INFO - GECKO(2837) | [Child 2927: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (7fd5fa064000) [pid = 2927] [serial = 8] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:32.765Z] 18:05:32     INFO - GECKO(2837) | [Child 2927: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (7fd5fa065c00) [pid = 2927] [serial = 6] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:32.765Z] 18:05:32     INFO - GECKO(2837) | [Child 2927: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (7fd5fa05cc00) [pid = 2927] [serial = 4] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:32.766Z] 18:05:32     INFO - GECKO(2837) | [Child 2927: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (7fd5fa05c000) [pid = 2927] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:32.767Z] 18:05:32     INFO - GECKO(2837) | [Child 2927: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (7fd5f8811400) [pid = 2927] [serial = 17] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:32.796Z] 18:05:32     INFO - GECKO(2837) | [Child 3091: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7fd5f97af000) [pid = 3091] [serial = 1] [outer = 0] [url = about:newtab]
[task 2024-12-03T18:05:32.819Z] 18:05:32     INFO - GECKO(2837) | [Child 2927: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (7fd5f95a4e00) [pid = 2927] [serial = 5] [outer = 0] [url = moz-extension://90fedaa1-0e46-4082-b5af-e32c659c606d/_generated_background_page.html]
[task 2024-12-03T18:05:33.244Z] 18:05:33     INFO - GECKO(2837) | [Parent 2837: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (7fcffbd3b800) [pid = 2837] [serial = 4] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:33.248Z] 18:05:33     INFO - GECKO(2837) | [Parent 2837: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (7fcfd5e30000) [pid = 2837] [serial = 13] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:33.251Z] 18:05:33     INFO - GECKO(2837) | [Parent 2837: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fcfd5e34c00 == 4 [pid = 2837] [id = 5] [url = about:firefoxview]
[task 2024-12-03T18:05:33.321Z] 18:05:33     INFO - GECKO(2837) | [Parent 2837: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (7fcfd494c200) [pid = 2837] [serial = 10] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:33.322Z] 18:05:33     INFO - GECKO(2837) | [Parent 2837: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (7fcfe17ce200) [pid = 2837] [serial = 12] [outer = 0] [url = about:firefoxview]
[task 2024-12-03T18:05:33.728Z] 18:05:33     INFO - GECKO(2837) | [WARN  webrender::device::gl] Missing optimized shader source for gpu_cache_update
[task 2024-12-03T18:05:33.757Z] 18:05:33     INFO - GECKO(2837) | [Child 3024: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7fd5f9737200) [pid = 3024] [serial = 1] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:33.772Z] 18:05:33     INFO - GECKO(2837) | [Child 3029: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fd5fa07b000 == 0 [pid = 3029] [id = 0] [url = http://mochi.test:8888/browser/browser/components/search/test/browser/opensearch.html]
[task 2024-12-03T18:05:33.795Z] 18:05:33     INFO - GECKO(2837) | [Child 3024: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7fd5fa06b800) [pid = 3024] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:33.825Z] 18:05:33     INFO - GECKO(2837) | [Child 3031: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fd5fa05b800 == 0 [pid = 3031] [id = 0] [url = http://mochi.test:8888/browser/browser/components/search/test/browser/opensearch.html]
[task 2024-12-03T18:05:33.831Z] 18:05:33     INFO - GECKO(2837) | [Child 3091: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7fd5fa09c000) [pid = 3091] [serial = 3] [outer = 0] [url = about:newtab]
[task 2024-12-03T18:05:33.889Z] 18:05:33     INFO - GECKO(2837) | [Child 3029: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7fd5fa07c400) [pid = 3029] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:33.898Z] 18:05:33     INFO - GECKO(2837) | [Child 3029: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7fd5f9735200) [pid = 3029] [serial = 1] [outer = 0] [url = http://mochi.test:8888/browser/browser/components/search/test/browser/opensearch.html]
[task 2024-12-03T18:05:33.935Z] 18:05:33     INFO - GECKO(2837) | [Child 3029: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7fd5fa07f800) [pid = 3029] [serial = 3] [outer = 0] [url = http://mochi.test:8888/browser/browser/components/search/test/browser/opensearch.html]
[task 2024-12-03T18:05:33.938Z] 18:05:33     INFO - GECKO(2837) | [Child 3031: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7fd5fa05b400) [pid = 3031] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:33.947Z] 18:05:33     INFO - GECKO(2837) | [Child 3031: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7fd5f9626400) [pid = 3031] [serial = 1] [outer = 0] [url = http://mochi.test:8888/browser/browser/components/search/test/browser/opensearch.html]
[task 2024-12-03T18:05:33.968Z] 18:05:33     INFO - GECKO(2837) | [Child 3031: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7fd5fa065800) [pid = 3031] [serial = 3] [outer = 0] [url = http://mochi.test:8888/browser/browser/components/search/test/browser/opensearch.html]
[task 2024-12-03T18:05:34.012Z] 18:05:34     INFO - GECKO(2837) | [Child 2927: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (7fd5f8808800) [pid = 2927] [serial = 13] [outer = 0] [url = moz-extension://90fedaa1-0e46-4082-b5af-e32c659c606d/_generated_background_page.html]
[task 2024-12-03T18:05:34.643Z] 18:05:34     INFO - GECKO(2837) | [Parent 2837: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (7fcfd5e2e800) [pid = 2837] [serial = 14] [outer = 0] [url = about:firefoxview]
[task 2024-12-03T18:05:34.644Z] 18:05:34     INFO - GECKO(2837) | [Parent 2837: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (7fcfd5e34400) [pid = 2837] [serial = 11] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:34.810Z] 18:05:34     INFO - GECKO(2837) | Completed ShutdownLeaks collections in process 2967
[task 2024-12-03T18:05:34.912Z] 18:05:34     INFO - GECKO(2837) | Completed ShutdownLeaks collections in process 3024
[task 2024-12-03T18:05:34.960Z] 18:05:34     INFO - GECKO(2837) | Completed ShutdownLeaks collections in process 3029
[task 2024-12-03T18:05:35.027Z] 18:05:35     INFO - GECKO(2837) | Completed ShutdownLeaks collections in process 3091
[task 2024-12-03T18:05:35.122Z] 18:05:35     INFO - GECKO(2837) | [Parent 2837: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7fcfe1b76000) [pid = 2837] [serial = 7] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:35.345Z] 18:05:35     INFO - GECKO(2837) | Completed ShutdownLeaks collections in process 2927
[task 2024-12-03T18:05:35.623Z] 18:05:35     INFO - GECKO(2837) | [Parent 2837: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (7fcfff227c00) [pid = 2837] [serial = 16] [outer = 7fd024e87400]
[task 2024-12-03T18:05:37.883Z] 18:05:37     INFO - GECKO(2837) | [Parent 2837: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7fcffbee9400) [pid = 2837] [serial = 15] [outer = 0] [url = about:blank]
[task 2024-12-03T18:05:38.348Z] 18:05:38     INFO - GECKO(2837) | Completed ShutdownLeaks collections in process 2837
[task 2024-12-03T18:05:38.349Z] 18:05:38     INFO - TEST-START | Shutdown
```