Bug: Intermittent browser/components/newtab/test/browser/browser_aboutwelcome_multistage_mr.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-01-24 14:13:57+00:00
Resolved: 2023-04-24 21:25:58+00:00

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

---
```
INFO - GECKO(2973) | [Parent 2973: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7fdcae208000) [pid = 2973] [serial = 5] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2023-01-24T13:51:25.684Z] 13:51:25     INFO - GECKO(2973) | [Parent 2973: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7fdca5f2b090) [pid = 2973] [serial = 8] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2023-01-24T13:51:25.685Z] 13:51:25     INFO - GECKO(2973) | [Parent 2973: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7fdca6c3a4e0) [pid = 2973] [serial = 6] [outer = 0] [url = about:blank]
[task 2023-01-24T13:51:25.688Z] 13:51:25     INFO - GECKO(2973) | [Parent 2973: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7fdc9e751000) [pid = 2973] [serial = 10] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2023-01-24T13:51:25.688Z] 13:51:25     INFO - GECKO(2973) | [Parent 2973: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7fdc91d9e800) [pid = 2973] [serial = 27] [outer = 0] [url = about:firefoxview]
[task 2023-01-24T13:51:25.712Z] 13:51:25     INFO - GECKO(2973) | [Parent 2973, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3384
[task 2023-01-24T13:51:25.749Z] 13:51:25     INFO - GECKO(2973) | [Parent 2973, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2023-01-24T13:51:25.775Z] 13:51:25     INFO - GECKO(2973) | [Parent 2973, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4663
[task 2023-01-24T13:51:25.799Z] 13:51:25     INFO - TEST-INFO | Main app process: exit 0
[task 2023-01-24T13:51:25.800Z] 13:51:25     INFO - TEST-INFO | Confirming we saw 295 DOCSHELL created and 295 destroyed log strings.
[task 2023-01-24T13:51:25.800Z] 13:51:25     INFO - TEST-INFO | Confirming we saw 799 DOMWINDOW created and 799 destroyed log strings.
[task 2023-01-24T13:51:25.800Z] 13:51:25    ERROR - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_aboutwelcome_multistage_mr.js | leaked 2 window(s) until shutdown [url = about:firefoxview]
[task 2023-01-24T13:51:25.801Z] 13:51:25     INFO - TEST-INFO | browser/components/newtab/test/browser/browser_aboutwelcome_multistage_mr.js | windows(s) leaked: [pid = 2973] [serial = 27], [pid = 2973] [serial = 25]
[task 2023-01-24T13:51:25.802Z] 13:51:25     INFO - TEST-INFO | browser/components/newtab/test/browser/browser_aboutwelcome_multistage_mr.js | This test created 1 hidden window(s)
```