Bug: Intermittent browser/components/urlbar/tests/browser/browser_UrlbarInput_setURI.js | leaked 1 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-06-10 23:44:38+00:00
Resolved: 2024-10-08 05:08:56+00:00

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

---
```
[task 2022-06-10T22:22:14.611Z] 22:22:14     INFO - GECKO(1703) | [Parent 1703: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 130b36400 == 1 [pid = 1703] [id = 1] [url = chrome://browser/content/browser.xhtml]
[task 2022-06-10T22:22:14.612Z] 22:22:14     INFO - GECKO(1703) | [Parent 1703: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 12ee99000 == 0 [pid = 1703] [id = 0] [url = chrome://browser/content/hiddenWindowMac.xhtml]
[task 2022-06-10T22:22:14.741Z] 22:22:14     INFO - GECKO(1703) | JavaScript error: resource:///modules/AsyncTabSwitcher.jsm, line 390: TypeError: can't access property "remoteTab", fl is null
[task 2022-06-10T22:22:14.790Z] 22:22:14     INFO - GECKO(1703) | [Parent 1703, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/checkouts/gecko/widget/cocoa/nsAppShell.mm:823
[task 2022-06-10T22:22:14.791Z] 22:22:14     INFO - GECKO(1703) | [Socket 1704, Main Thread] WARNING: IPC message 'PSocketProcess::Msg_FOGData' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2022-06-10T22:22:14.792Z] 22:22:14     INFO - GECKO(1703) | [Socket 1704, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/checkouts/gecko/widget/cocoa/nsAppShell.mm:823
[task 2022-06-10T22:22:14.794Z] 22:22:14     INFO - GECKO(1703) | [Socket 1704, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4571
[task 2022-06-10T22:22:14.866Z] 22:22:14     INFO - GECKO(1703) | [Parent 1703, Compositor] WARNING: IPC Connection Error: [Parent][PImageBridgeParent] RunMessage(msgname=PImageBridge::Msg_WillClose) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1908
[task 2022-06-10T22:22:15.712Z] 22:22:15     INFO - GECKO(1703) | [Parent 1703: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (13c438bc0) [pid = 1703] [serial = 16] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2022-06-10T22:22:15.716Z] 22:22:15     INFO - GECKO(1703) | [Parent 1703: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (14b1ae400) [pid = 1703] [serial = 17] [outer = 0] [url = about:blank]
[task 2022-06-10T22:22:15.716Z] 22:22:15     INFO - GECKO(1703) | [Parent 1703: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (130dfa400) [pid = 1703] [serial = 4] [outer = 0] [url = about:blank]
[task 2022-06-10T22:22:15.717Z] 22:22:15     INFO - GECKO(1703) | [Parent 1703: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (107e3d130) [pid = 1703] [serial = 3] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2022-06-10T22:22:15.717Z] 22:22:15     INFO - GECKO(1703) | [Parent 1703: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (107e3dc10) [pid = 1703] [serial = 10] [outer = 0] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2022-06-10T22:22:15.718Z] 22:22:15     INFO - GECKO(1703) | [Parent 1703: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (13c1a8400) [pid = 1703] [serial = 11] [outer = 0] [url = about:blank]
[task 2022-06-10T22:22:15.718Z] 22:22:15     INFO - GECKO(1703) | [Parent 1703: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (130f1c400) [pid = 1703] [serial = 7] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2022-06-10T22:22:15.719Z] 22:22:15     INFO - GECKO(1703) | [Parent 1703: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (10ff1ec00) [pid = 1703] [serial = 656] [outer = 0] [url = about:blank]
[task 2022-06-10T22:22:15.719Z] 22:22:15     INFO - GECKO(1703) | [Parent 1703: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (107e3e6f0) [pid = 1703] [serial = 5] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2022-06-10T22:22:15.720Z] 22:22:15     INFO - GECKO(1703) | [Parent 1703: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (130b2d800) [pid = 1703] [serial = 2] [outer = 0] [url = about:blank]
[task 2022-06-10T22:22:15.720Z] 22:22:15     INFO - GECKO(1703) | [Parent 1703: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (107e3e180) [pid = 1703] [serial = 1] [outer = 0] [url = chrome://browser/content/hiddenWindowMac.xhtml]
[task 2022-06-10T22:22:15.721Z] 22:22:15     INFO - GECKO(1703) | [Parent 1703: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (107e3bf10) [pid = 1703] [serial = 8] [outer = 0] [url = about:blank]
[task 2022-06-10T22:22:15.750Z] 22:22:15     INFO - GECKO(1703) | [Parent 1703, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2022-06-10T22:22:15.769Z] 22:22:15     INFO - GECKO(1703) | [Parent 1703, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2022-06-10T22:22:15.791Z] 22:22:15     INFO - GECKO(1703) | [Parent 1703, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4571
[task 2022-06-10T22:22:15.952Z] 22:22:15     INFO - TEST-INFO | Main app process: exit 0
[task 2022-06-10T22:22:15.953Z] 22:22:15     INFO - TEST-INFO | Confirming we saw 1271 DOCSHELL created and 1271 destroyed log strings.
[task 2022-06-10T22:22:15.953Z] 22:22:15     INFO - TEST-INFO | Confirming we saw 3410 DOMWINDOW created and 3410 destroyed log strings.
[task 2022-06-10T22:22:15.954Z] 22:22:15    ERROR - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_UrlbarInput_setURI.js | leaked 1 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
[task 2022-06-10T22:22:15.954Z] 22:22:15    ERROR - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_UrlbarInput_setURI.js | leaked 1 window(s) until shutdown [url = about:blank]
[task 2022-06-10T22:22:15.954Z] 22:22:15     INFO - TEST-INFO | browser/components/urlbar/tests/browser/browser_UrlbarInput_setURI.js | windows(s) leaked: [pid = 1703] [serial = 16], [pid = 1703] [serial = 17]
[task 2022-06-10T22:22:15.955Z] 22:22:15     INFO - TEST-INFO | browser/components/urlbar/tests/browser/browser_UrlbarInput_setURI.js | This test created 0 hidden window(s)
[task 2022-06-10T22:22:15.955Z] 22:22:15     INFO - TEST-INFO | browser/components/urlbar/tests/browser/browser_UrlbarInput_setURI.js | This test created 1 hidden docshell(s)
[task 2022-06-10T22:22:15.956Z] 22:22:15     INFO - TEST-INFO | browser/components/urlbar/tests/browser/browser_UrlbarInput_hiddenFocus.js | This test created 0 hidden window(s)
[task 2022-06-10T22:22:15.956Z] 22:22:15     INFO - TEST-INFO | browser/components/urlbar/tests/browser/browser_UrlbarInput_hiddenFocus.js | This test created 1 hidden docshell(s)
[task 2022-06-10T22:22:15.956Z] 22:22:15     INFO - TEST-INFO | browser/components/urlbar/tests/browser/browser_UrlbarInput_overflow.js | This test created 0 hidden window(s)
[task 2022-06-10T22:22:15.957Z] 22:22:15     INFO - TEST-INFO | browser/components/urlbar/tests/browser/browser_UrlbarInput_overflow.js | This test created 1 hidden docshell(s)
[task 2022-06-10T22:22:15.957Z] 22:22:15     INFO - TEST-INFO | browser/components/urlbar/tests/browser/browser_UrlbarInput_overflow_resize.js | This test created 0 hidden window(s)
[task 2022-06-10T22:22:15.958Z] 22:22:15     INFO - TEST-INFO | browser/components/urlbar/tests/browser/browser_UrlbarInput_overflow_resize.js | This test created 1 hidden docshell(s)
```