Bug: Intermittent browser/base/content/test/gesture/browser_gesture_navigation.js | leaked 2 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-04-05 10:46:07+00:00
Resolved: 2022-05-03 17:05:25+00:00

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

---
```
[task 2022-04-05T08:53:52.662Z] 08:53:52     INFO - GECKO(5596) | ###!!! [Parent][PGPUParent] Error: RunMessage(msgname=PGPU::Msg_ShutdownVR) Channel closing: too late to send/recv, messages will be lost
[task 2022-04-05T08:53:52.673Z] 08:53:52     INFO - GECKO(5596) | [GPU 2668, Main Thread] WARNING: IPC message 'PGPU::Msg_FOGData' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:506
[task 2022-04-05T08:53:52.684Z] 08:53:52     INFO - GECKO(5596) | Destroying context 0723D000 surface 056473C0 on display 0561A800
[task 2022-04-05T08:53:52.699Z] 08:53:52     INFO - GECKO(5596) | [GPU 2668, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4465
[task 2022-04-05T08:53:53.498Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (2ac9cf00) [pid = 7404] [serial = 27] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2022-04-05T08:53:53.505Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (183ddb00) [pid = 7404] [serial = 19] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2022-04-05T08:53:53.507Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (18627300) [pid = 7404] [serial = 28] [outer = 0] [url = about:blank]
[task 2022-04-05T08:53:53.508Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (18530d00) [pid = 7404] [serial = 20] [outer = 0] [url = about:blank]
[task 2022-04-05T08:53:53.509Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (14273100) [pid = 7404] [serial = 4] [outer = 0] [url = about:blank]
[task 2022-04-05T08:53:53.509Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (12768200) [pid = 7404] [serial = 3] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2022-04-05T08:53:53.510Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (12766a00) [pid = 7404] [serial = 13] [outer = 0] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2022-04-05T08:53:53.510Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (1780a400) [pid = 7404] [serial = 14] [outer = 0] [url = about:blank]
[task 2022-04-05T08:53:53.511Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (17291d00) [pid = 7404] [serial = 36] [outer = 0] [url = about:blank]
[task 2022-04-05T08:53:53.512Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (17873c00) [pid = 7404] [serial = 5] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2022-04-05T08:53:53.512Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (19aa4a00) [pid = 7404] [serial = 7] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2022-04-05T08:53:53.513Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (1b8d8900) [pid = 7404] [serial = 8] [outer = 0] [url = about:blank]
[task 2022-04-05T08:53:53.513Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (1df48000) [pid = 7404] [serial = 10] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2022-04-05T08:53:53.517Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (1eed5c00) [pid = 7404] [serial = 12] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2022-04-05T08:53:53.528Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2022-04-05T08:53:53.549Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:128
[task 2022-04-05T08:53:53.598Z] 08:53:53     INFO - GECKO(5596) | [Parent 7404, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4465
[task 2022-04-05T08:53:53.629Z] 08:53:53     INFO - TEST-INFO | Main app process: exit 0
[task 2022-04-05T08:53:53.631Z] 08:53:53     INFO - TEST-INFO | Confirming we saw 29 DOCSHELL created and 29 destroyed log strings.
[task 2022-04-05T08:53:53.631Z] 08:53:53     INFO - TEST-INFO | Confirming we saw 80 DOMWINDOW created and 80 destroyed log strings.
[task 2022-04-05T08:53:53.632Z] 08:53:53    ERROR - TEST-UNEXPECTED-FAIL | browser/base/content/test/gesture/browser_gesture_navigation.js | leaked 2 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
[task 2022-04-05T08:53:53.632Z] 08:53:53    ERROR - TEST-UNEXPECTED-FAIL | browser/base/content/test/gesture/browser_gesture_navigation.js | leaked 2 window(s) until shutdown [url = about:blank]
[task 2022-04-05T08:53:53.633Z] 08:53:53     INFO - TEST-INFO | browser/base/content/test/gesture/browser_gesture_navigation.js | windows(s) leaked: [pid = 7404] [serial = 19], [pid = 7404] [serial = 28], [pid = 7404] [serial = 20], [pid = 7404] [serial = 27]
[task 2022-04-05T08:53:53.633Z] 08:53:53     INFO - TEST-INFO | browser/base/content/test/gesture/browser_gesture_navigation.js | This test created 1 hidden window(s)
[task 2022-04-05T08:53:53.634Z] 08:53:53     INFO - TEST-INFO | browser/base/content/test/gesture/browser_gesture_navigation.js | This test created 1 hidden docshell(s)
```