Bug: Intermittent TV browser/components/search/test/browser/browser_searchPanelHeader.js | leaked 1 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2024-07-08 14:08:47+00:00
Resolved: 2024-07-15 06:16:39+00:00

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

---
```
[task 2024-07-08T12:46:26.561Z] 12:46:26     INFO - GECKO(8146) | [Parent 8146, Main Thread] WARNING: NS_ENSURE_TRUE(aWindowContext) failed: file /builds/worker/checkouts/gecko/toolkit/components/antitracking/bouncetrackingprotection/BounceTrackingProtection.cpp:327
[task 2024-07-08T12:46:26.562Z] 12:46:26     INFO - GECKO(8146) | [Utility 8295, Main Thread] WARNING: IPC message 'PUtilityProcess::Msg_FOGData' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:551
[task 2024-07-08T12:46:26.602Z] 12:46:26     INFO - GECKO(8146) | Destroying context 7ff88ea50430 surface 0 on display 7ff88ea37900
[task 2024-07-08T12:46:27.231Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2024-07-08T12:46:27.234Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2024-07-08T12:46:27.359Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (7ff85cba9980) [pid = 8146] [serial = 49] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2024-07-08T12:46:27.367Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (7ff85ec89800) [pid = 8146] [serial = 50] [outer = 0] [url = about:blank]
[task 2024-07-08T12:46:27.371Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (7ff86be3a400) [pid = 8146] [serial = 12] [outer = 0] [url = about:blank]
[task 2024-07-08T12:46:27.372Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7ff8596ba000) [pid = 8146] [serial = 54] [outer = 0] [url = about:blank]
[task 2024-07-08T12:46:27.374Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (7ff898e19020) [pid = 8146] [serial = 1] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2024-07-08T12:46:27.375Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (7ff876078e20) [pid = 8146] [serial = 11] [outer = 0] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2024-07-08T12:46:27.376Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7ff876077020) [pid = 8146] [serial = 8] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2024-07-08T12:46:27.377Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7ff898e1a4c0) [pid = 8146] [serial = 3] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2024-07-08T12:46:27.378Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7ff88ead6000) [pid = 8146] [serial = 5] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2024-07-08T12:46:27.379Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7ff8784f3a60) [pid = 8146] [serial = 6] [outer = 0] [url = about:blank]
[task 2024-07-08T12:46:27.380Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7ff88be61000) [pid = 8146] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-07-08T12:46:27.383Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7ff86c325800) [pid = 8146] [serial = 10] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2024-07-08T12:46:27.402Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146, Main Thread] WARNING: NS_ENSURE_SUCCESS_VOID(rv) failed with result 0x8000FFFF (NS_ERROR_UNEXPECTED): file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:407
[task 2024-07-08T12:46:27.404Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146, Main Thread] WARNING: NS_ENSURE_TRUE(!!svc) failed: file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:507
[task 2024-07-08T12:46:27.405Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146, Main Thread] WARNING: NS_ENSURE_SUCCESS_VOID(rv) failed with result 0x8000FFFF (NS_ERROR_UNEXPECTED): file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:407
[task 2024-07-08T12:46:27.406Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146, Main Thread] WARNING: NS_ENSURE_TRUE(!!svc) failed: file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:507
[task 2024-07-08T12:46:27.408Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146, Main Thread] WARNING: NS_ENSURE_SUCCESS_VOID(rv) failed with result 0x8000FFFF (NS_ERROR_UNEXPECTED): file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:407
[task 2024-07-08T12:46:27.409Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146, Main Thread] WARNING: NS_ENSURE_TRUE(!!svc) failed: file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:507
[task 2024-07-08T12:46:27.410Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146, Main Thread] WARNING: NS_ENSURE_SUCCESS_VOID(rv) failed with result 0x8000FFFF (NS_ERROR_UNEXPECTED): file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:407
[task 2024-07-08T12:46:27.411Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146, Main Thread] WARNING: NS_ENSURE_TRUE(!!svc) failed: file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:507
[task 2024-07-08T12:46:27.412Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146, Main Thread] WARNING: NS_ENSURE_SUCCESS_VOID(rv) failed with result 0x8000FFFF (NS_ERROR_UNEXPECTED): file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:407
[task 2024-07-08T12:46:27.414Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146, Main Thread] WARNING: NS_ENSURE_TRUE(!!svc) failed: file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:507
[task 2024-07-08T12:46:27.415Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146, Main Thread] WARNING: NS_ENSURE_SUCCESS_VOID(rv) failed with result 0x8000FFFF (NS_ERROR_UNEXPECTED): file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:407
[task 2024-07-08T12:46:27.416Z] 12:46:27     INFO - GECKO(8146) | [Parent 8146, Main Thread] WARNING: NS_ENSURE_TRUE(!!svc) failed: file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:507
[task 2024-07-08T12:46:27.487Z] 12:46:27     INFO - TEST-INFO | Main app process: exit 0
[task 2024-07-08T12:46:27.488Z] 12:46:27     INFO - TEST-INFO | Confirming we saw 71 DOCSHELL created and 71 destroyed log strings.
[task 2024-07-08T12:46:27.489Z] 12:46:27     INFO - TEST-INFO | Confirming we saw 182 DOMWINDOW created and 182 destroyed log strings.
[task 2024-07-08T12:46:27.490Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | windows(s) leaked: [pid = 8146] [serial = 49], [pid = 8146] [serial = 50]
[task 2024-07-08T12:46:27.490Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden window(s)
[task 2024-07-08T12:46:27.491Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:46:27.492Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden window(s)
[task 2024-07-08T12:46:27.493Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:46:27.493Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden window(s)
[task 2024-07-08T12:46:27.494Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:46:27.495Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden window(s)
[task 2024-07-08T12:46:27.496Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:46:27.497Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden window(s)
[task 2024-07-08T12:46:27.497Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:46:27.498Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden window(s)
[task 2024-07-08T12:46:27.499Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:46:27.500Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden window(s)
[task 2024-07-08T12:46:27.500Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:46:27.501Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden window(s)
[task 2024-07-08T12:46:27.502Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:46:27.503Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden window(s)
[task 2024-07-08T12:46:27.504Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:46:27.504Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden window(s)
[task 2024-07-08T12:46:27.505Z] 12:46:27     INFO - TEST-INFO | browser/components/search/test/browser/browser_searchPanelHeader.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:46:27.506Z] 12:46:27     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchPanelHeader.js | leaked 1 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
[task 2024-07-08T12:46:27.507Z] 12:46:27     INFO - TEST-INFO 
[task 2024-07-08T12:46:27.508Z] 12:46:27     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchPanelHeader.js | leaked 1 window(s) until shutdown [url = about:blank]
[task 2024-07-08T12:46:27.508Z] 12:46:27     INFO - TEST-INFO 
[task 2024-07-08T12:46:27.509Z] 12:46:27     INFO - runtests.py | Application ran for: 0:00:54.071493
[task 2024-07-08T12:46:27.510Z] 12:46:27     INFO - zombiecheck | Reading PID log: /tmp/tmpbr923yxapidlog
[task 2024-07-08T12:46:27.511Z] 12:46:27     INFO - ==> process 8146 launched child process 8214
```