Bug: Intermittent browser/components/sessionstore/test/browser_394759_behavior.js | leaked 2 window(s) until shutdown [url = about:blank]
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-10-30 22:42:28+00:00
Resolved: 2021-11-30 17:04:17+00:00

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

---
```
[task 2021-10-30T21:34:38.065Z] 21:34:38     INFO - TEST-START | Shutdown
[task 2021-10-30T21:34:38.066Z] 21:34:38     INFO - Browser Chrome Test Summary
[task 2021-10-30T21:34:38.066Z] 21:34:38     INFO - Passed:  1494
[task 2021-10-30T21:34:38.067Z] 21:34:38     INFO - Failed:  0
[task 2021-10-30T21:34:38.067Z] 21:34:38     INFO - Todo:    9
[task 2021-10-30T21:34:38.068Z] 21:34:38     INFO - Mode:    e10s
[task 2021-10-30T21:34:38.068Z] 21:34:38     INFO - *** End BrowserChrome Test Results ***
[task 2021-10-30T21:34:38.112Z] 21:34:38     INFO - GECKO(6812) | [Child 5396, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-10-30T21:34:38.116Z] 21:34:38     INFO - GECKO(6812) | [Child 5396, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-10-30T21:34:38.120Z] 21:34:38     INFO - GECKO(6812) | [Child 5396, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-10-30T21:34:38.124Z] 21:34:38     INFO - GECKO(6812) | [Child 5396, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-10-30T21:34:38.130Z] 21:34:38     INFO - GECKO(6812) | [Child 5396, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-10-30T21:34:38.131Z] 21:34:38     INFO - GECKO(6812) | [Child 5396, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-10-30T21:34:38.144Z] 21:34:38     INFO - GECKO(6812) | [Child 5396, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-10-30T21:34:38.156Z] 21:34:38     INFO - GECKO(6812) | [Parent 2768: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1effb057800 == 4 [pid = 2768] [id = 2] [url = chrome://extensions/content/dummy.xhtml]
[task 2021-10-30T21:34:38.223Z] 21:34:38     INFO - GECKO(6812) | 1635629678222	Marionette	TRACE	Received observer notification quit-application
[task 2021-10-30T21:34:38.224Z] 21:34:38     INFO - GECKO(6812) | 1635629678222	Marionette	INFO	Stopped listening on port 2828
[task 2021-10-30T21:34:38.225Z] 21:34:38     INFO - GECKO(6812) | 1635629678223	Marionette	DEBUG	Marionette stopped listening
<...>
task 2021-10-30T21:34:40.066Z] 21:34:40     INFO - GECKO(6812) | [Parent 2768: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (1effb907ac0) [pid = 2768] [serial = 9] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2021-10-30T21:34:40.070Z] 21:34:40     INFO - GECKO(6812) | [Parent 2768: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (1effdec7c00) [pid = 2768] [serial = 11] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2021-10-30T21:34:40.083Z] 21:34:40     INFO - GECKO(6812) | [Parent 2768, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3353
[task 2021-10-30T21:34:40.165Z] 21:34:40     INFO - GECKO(6812) | [Parent 2768, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4439
[task 2021-10-30T21:34:40.230Z] 21:34:40     INFO - TEST-INFO | Main app process: exit 0
[task 2021-10-30T21:34:40.231Z] 21:34:40     INFO - TEST-INFO | Confirming we saw 1608 DOCSHELL created and 1541 destroyed log strings.
[task 2021-10-30T21:34:40.231Z] 21:34:40     INFO - TEST-INFO | Confirming we saw 4160 DOMWINDOW created and 3906 destroyed log strings.
[task 2021-10-30T21:34:40.232Z] 21:34:40    ERROR - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_394759_behavior.js | leaked 2 window(s) until shutdown [url = about:blank]
[task 2021-10-30T21:34:40.232Z] 21:34:40     INFO - TEST-INFO | browser/components/sessionstore/test/browser_394759_behavior.js | windows(s) leaked: [pid = 8620] [serial = 72], [pid = 8620] [serial = 73]
[task 2021-10-30T21:34:40.233Z] 21:34:40     INFO - TEST-INFO | browser/components/sessionstore/test/browser_394759_behavior.js | This test created 1 hidden window(s)
[task 2021-10-30T21:34:40.233Z] 21:34:40     INFO - TEST-INFO | browser/components/sessionstore/test/browser_394759_behavior.js | This test created 1 hidden docshell(s)
<...>
[task 2021-10-30T21:34:40.504Z] 21:34:40     INFO - nsTraceRefcnt::DumpStatistics: 2288 entries
[task 2021-10-30T21:34:40.505Z] 21:34:40     INFO - TEST-PASS | leakcheck | default no leaks detected!
```