Bug: High freq OS X debug TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | leaked 2 window(s) until shutdown  when Gecko 115 merges to Beta on 2023-06-05
Status: RESOLVED
Priority: P1
Resolution: WONTFIX
Created: 2023-06-01 14:43:45+00:00
Resolved: 2023-07-19 18:19:04+00:00

[Tracking Requested - why for this release]:

  [Central-as-beta-simulation](https://treeherder.mozilla.org/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=e76c379fa31da12fcf5793f8cc1dcf6ef8e34c1d&selectedTaskRun=NIGGQ2svTuq7Wazygdiwvw.0)
  [How to run these simulations](https://wiki.mozilla.org/Sheriffing/How_To/Beta_simulations#TRUNK_AS_EARLY_BETA)
  [Failure log](https://treeherder.mozilla.org/logviewer?job_id=417770120&repo=try&lineNumber=79253)
```
[task 2023-06-01T12:25:52.134Z] 12:25:52     INFO - GECKO(4869) | [Utility 4872, Main Thread] WARNING: IPC message 'PUtilityProcess::Msg_FOGData' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:507
[task 2023-06-01T12:25:52.135Z] 12:25:52     INFO - GECKO(4869) | [Utility 4872, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/checkouts/gecko/widget/cocoa/nsAppShell.mm:861
[task 2023-06-01T12:25:52.138Z] 12:25:52     INFO - GECKO(4869) | [Utility 4872, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4687
[task 2023-06-01T12:25:52.139Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/checkouts/gecko/widget/cocoa/nsAppShell.mm:861
[task 2023-06-01T12:25:52.691Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2023-06-01T12:25:52.692Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2023-06-01T12:25:52.812Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (1383d0800) [pid = 4869] [serial = 4] [outer = 0] [url = about:blank]
[task 2023-06-01T12:25:52.813Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (10ac1e010) [pid = 4869] [serial = 3] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2023-06-01T12:25:52.813Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (138e714e0) [pid = 4869] [serial = 10] [outer = 0] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2023-06-01T12:25:52.814Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (143793400) [pid = 4869] [serial = 11] [outer = 0] [url = about:blank]
[task 2023-06-01T12:25:52.814Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (12f0aac00) [pid = 4869] [serial = 39] [outer = 0] [url = about:blank]
[task 2023-06-01T12:25:52.815Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (135f9e400) [pid = 4869] [serial = 2] [outer = 0] [url = about:blank]
[task 2023-06-01T12:25:52.815Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (10ac1fd20) [pid = 4869] [serial = 1] [outer = 0] [url = chrome://browser/content/hiddenWindowMac.xhtml]
[task 2023-06-01T12:25:52.816Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (135c419c0) [pid = 4869] [serial = 5] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2023-06-01T12:25:52.816Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (144682560) [pid = 4869] [serial = 34] [outer = 0] [url = chrome://browser/content/migration/migration.xhtml]
[task 2023-06-01T12:25:52.817Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (13ae1b400) [pid = 4869] [serial = 7] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2023-06-01T12:25:52.817Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (14341b000) [pid = 4869] [serial = 35] [outer = 0] [url = about:blank]
[task 2023-06-01T12:25:52.817Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (13b4a4010) [pid = 4869] [serial = 36] [outer = 0] [url = chrome://browser/content/migration/migration.xhtml]
[task 2023-06-01T12:25:52.818Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (13b2f94e0) [pid = 4869] [serial = 8] [outer = 0] [url = about:blank]
[task 2023-06-01T12:25:52.818Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (14fab8000) [pid = 4869] [serial = 37] [outer = 0] [url = about:blank]
[task 2023-06-01T12:25:52.844Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3426
[task 2023-06-01T12:25:52.857Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2023-06-01T12:25:52.875Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4687
[task 2023-06-01T12:25:52.895Z] 12:25:52     INFO - TEST-INFO | Main app process: exit 0
[task 2023-06-01T12:25:52.895Z] 12:25:52     INFO - TEST-INFO | Confirming we saw 69 DOCSHELL created and 69 destroyed log strings.
[task 2023-06-01T12:25:52.896Z] 12:25:52     INFO - TEST-INFO | Confirming we saw 168 DOMWINDOW created and 168 destroyed log strings.
[task 2023-06-01T12:25:52.896Z] 12:25:52    ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | leaked 2 window(s) until shutdown [url = chrome://browser/content/migration/migration.xhtml]
[task 2023-06-01T12:25:52.897Z] 12:25:52    ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | leaked 2 window(s) until shutdown [url = about:blank]
[task 2023-06-01T12:25:52.897Z] 12:25:52     INFO - TEST-INFO | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | windows(s) leaked: [pid = 4869] [serial = 34], [pid = 4869] [serial = 35], [pid = 4869] [serial = 36], [pid = 4869] [serial = 37]
[task 2023-06-01T12:25:52.898Z] 12:25:52    ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | leaked 2 docShell(s) until shutdown
[task 2023-06-01T12:25:52.898Z] 12:25:52     INFO - TEST-INFO | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | docShell(s) leaked: [pid = 4869] [id = 15], [pid = 4869] [id = 16]
[task 2023-06-01T12:25:52.899Z] 12:25:52     INFO - TEST-INFO | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | This test created 0 hidden window(s)
[task 2023-06-01T12:25:52.899Z] 12:25:52     INFO - TEST-INFO | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | This test created 1 hidden docshell(s)
[task 2023-06-01T12:25:52.900Z] 12:25:52     INFO - TEST-INFO | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_click_element.js | This test created 0 hidden window(s)
```