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

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

---
```
[task 2024-07-08T12:36:40.734Z] 12:36:40     INFO - GECKO(9308) | [Parent 7800, Main Thread] WARNING: NS_ENSURE_TRUE(aWindowContext) failed: file /builds/worker/checkouts/gecko/toolkit/components/antitracking/bouncetrackingprotection/BounceTrackingProtection.cpp:327
[task 2024-07-08T12:36:40.747Z] 12:36:40     INFO - GECKO(9308) | [Utility 1360, 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:36:40.756Z] 12:36:40     INFO - GECKO(9308) | [GPU 3996, Main Thread] WARNING: IPC message 'PGPU::Msg_FOGData' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:551
[task 2024-07-08T12:36:40.761Z] 12:36:40     INFO - GECKO(9308) | Destroying context 2803432a000 surface 28031059430 on display 28031090100
[task 2024-07-08T12:36:41.436Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2024-07-08T12:36:41.454Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2024-07-08T12:36:41.593Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (25f792095c0) [pid = 7800] [serial = 51] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2024-07-08T12:36:41.616Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (25f75e21800) [pid = 7800] [serial = 52] [outer = 0] [url = about:blank]
[task 2024-07-08T12:36:41.617Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (25f6a607800) [pid = 7800] [serial = 4] [outer = 0] [url = about:blank]
[task 2024-07-08T12:36:41.617Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (25f72bf6200) [pid = 7800] [serial = 10] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2024-07-08T12:36:41.618Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (25f7545e800) [pid = 7800] [serial = 14] [outer = 0] [url = about:blank]
[task 2024-07-08T12:36:41.619Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (25f6a7ec7a0) [pid = 7800] [serial = 3] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2024-07-08T12:36:41.620Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (25f75e90980) [pid = 7800] [serial = 13] [outer = 0] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2024-07-08T12:36:41.620Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (25f6a609400) [pid = 7800] [serial = 56] [outer = 0] [url = about:blank]
[task 2024-07-08T12:36:41.621Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (25f6fe483e0) [pid = 7800] [serial = 5] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2024-07-08T12:36:41.622Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (25f711e2400) [pid = 7800] [serial = 7] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2024-07-08T12:36:41.622Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (25f6fe49880) [pid = 7800] [serial = 8] [outer = 0] [url = about:blank]
[task 2024-07-08T12:36:41.630Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (25f74512800) [pid = 7800] [serial = 12] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2024-07-08T12:36:41.643Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800, 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:36:41.651Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800, Main Thread] WARNING: NS_ENSURE_TRUE(!!svc) failed: file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:507
[task 2024-07-08T12:36:41.652Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800, 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:36:41.652Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800, Main Thread] WARNING: NS_ENSURE_TRUE(!!svc) failed: file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:507
[task 2024-07-08T12:36:41.653Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800, 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:36:41.654Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800, Main Thread] WARNING: NS_ENSURE_TRUE(!!svc) failed: file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:507
[task 2024-07-08T12:36:41.654Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800, 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:36:41.655Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800, Main Thread] WARNING: NS_ENSURE_TRUE(!!svc) failed: file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:507
[task 2024-07-08T12:36:41.656Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800, 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:36:41.656Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800, Main Thread] WARNING: NS_ENSURE_TRUE(!!svc) failed: file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:507
[task 2024-07-08T12:36:41.657Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800, 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:36:41.657Z] 12:36:41     INFO - GECKO(9308) | [Parent 7800, Main Thread] WARNING: NS_ENSURE_TRUE(!!svc) failed: file /builds/worker/checkouts/gecko/dom/file/uri/BlobURLProtocolHandler.cpp:507
[task 2024-07-08T12:36:41.781Z] 12:36:41     INFO - TEST-INFO | Main app process: exit 0
[task 2024-07-08T12:36:41.783Z] 12:36:41     INFO - TEST-INFO | Confirming we saw 69 DOCSHELL created and 69 destroyed log strings.
[task 2024-07-08T12:36:41.783Z] 12:36:41     INFO - TEST-INFO | Confirming we saw 175 DOMWINDOW created and 175 destroyed log strings.
[task 2024-07-08T12:36:41.783Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | windows(s) leaked: [pid = 7800] [serial = 51], [pid = 7800] [serial = 52]
[task 2024-07-08T12:36:41.784Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden window(s)
[task 2024-07-08T12:36:41.785Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:36:41.785Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden window(s)
[task 2024-07-08T12:36:41.786Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:36:41.786Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden window(s)
[task 2024-07-08T12:36:41.787Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:36:41.787Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden window(s)
[task 2024-07-08T12:36:41.788Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:36:41.788Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden window(s)
[task 2024-07-08T12:36:41.789Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:36:41.789Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden window(s)
[task 2024-07-08T12:36:41.789Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:36:41.790Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden window(s)
[task 2024-07-08T12:36:41.790Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:36:41.791Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden window(s)
[task 2024-07-08T12:36:41.791Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:36:41.792Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden window(s)
[task 2024-07-08T12:36:41.792Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:36:41.792Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden window(s)
[task 2024-07-08T12:36:41.793Z] 12:36:41     INFO - TEST-INFO | browser/components/search/test/browser/browser_oneOff.js | This test created 1 hidden docshell(s)
[task 2024-07-08T12:36:41.794Z] 12:36:41     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_oneOff.js | leaked 1 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
[task 2024-07-08T12:36:41.794Z] 12:36:41     INFO - TEST-INFO 
[task 2024-07-08T12:36:41.794Z] 12:36:41     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_oneOff.js | leaked 1 window(s) until shutdown [url = about:blank]
[task 2024-07-08T12:36:41.794Z] 12:36:41     INFO - TEST-INFO 
[task 2024-07-08T12:36:41.795Z] 12:36:41     INFO - runtests.py | Application ran for: 0:00:36.483779
[task 2024-07-08T12:36:41.795Z] 12:36:41     INFO - zombiecheck | Reading PID log: C:\Users\task_172043864904753\AppData\Local\Temp\tmpbs09gfj5pidlog
[task 2024-07-08T12:36:41.796Z] 12:36:41     INFO - ==> process 7800 launched child process 3996 ("D:\task_172043864904753\build\application\firefox\firefox.exe" -contentproc --channel=2224 -parentBuildID 20240708121443 -prefsHandle 2160 -prefMapHandle 2140 -prefsLen 23906 -prefMapSize 271529 -appDir "D:\task_172043864904753\build\application\firefox\browser" - {d25e78c3-81de-425b-9dfa-7b074c16b02d} 7800 "\\.\pipe\gecko-crash-server-pipe.7800" gpu)
```