Bug: Intermittent browser/components/customizableui/test/browser_985815_propagate_setToolbarVisibility.js | leaked 1 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-03-13 20:59:59+00:00
Resolved: 2020-04-14 17:03:13+00:00

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

---

[task 2020-03-13T20:00:35.124Z] 20:00:35     INFO - TEST-START | browser/components/customizableui/test/browser_widget_animation.js
[task 2020-03-13T20:00:35.207Z] 20:00:35     INFO - GECKO(5928) | JavaScript error: resource:///modules/AsyncTabSwitcher.jsm, line 377: TypeError: can't access property "schemeIs", requestedBrowser.currentURI is null
[task 2020-03-13T20:00:35.347Z] 20:00:35     INFO - GECKO(5928) | [Child 10112: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (000001F4DB4A0C00) [pid = 10112] [serial = 228] [outer = 0000000000000000] [url = about:blank]
[task 2020-03-13T20:00:35.347Z] 20:00:35     INFO - GECKO(5928) | [Child 10112: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (000001F4E1591C00) [pid = 10112] [serial = 236] [outer = 0000000000000000] [url = about:blank]
[task 2020-03-13T20:00:35.347Z] 20:00:35     INFO - GECKO(5928) | [Child 10112: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (000001F4E1A7A000) [pid = 10112] [serial = 231] [outer = 0000000000000000] [url = about:blank]
[task 2020-03-13T20:00:35.347Z] 20:00:35     INFO - GECKO(5928) | [Child 10112: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 000001F4DB44F800 == 2 [pid = 10112] [id = {043b1809-ceb2-41ee-8304-7aa7eb74bec0}] [url = https://example.com/]
[task 2020-03-13T20:00:35.359Z] 20:00:35     INFO - GECKO(5928) | [Child 10112: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 000001F4DB44B000 == 1 [pid = 10112] [id = {01388211-d103-4af1-a193-c5d6dd420fd7}] [url = https://example.com/connect_another_device?service=sync&context=fx_desktop_v3&entrypoint=synced-tabs&uid=uid&email=foo%40bar.com]
[task 2020-03-13T20:00:35.499Z] 20:00:35     INFO - GECKO(5928) | [Child 10112: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (000001F4E1A54B70) [pid = 10112] [serial = 232] [outer = 0000000000000000] [url = about:blank]
[task 2020-03-13T20:00:35.499Z] 20:00:35     INFO - GECKO(5928) | [Child 10112: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (000001F4E1A54600) [pid = 10112] [serial = 235] [outer = 0000000000000000] [url = about:blank]
[task 2020-03-13T20:00:35.518Z] 20:00:35     INFO - GECKO(5928) | JavaScript error: resource:///modules/AsyncTabSwitcher.jsm, line 377: TypeError: can't access property "schemeIs", requestedBrowser.currentURI is null
[task 2020-03-13T20:00:35.825Z] 20:00:35     INFO - GECKO(5928) | JavaScript error: resource:///modules/AsyncTabSwitcher.jsm, line 377: TypeError: can't access property "schemeIs", requestedBrowser.currentURI is null
[task 2020-03-13T20:00:36.141Z] 20:00:36     INFO - GECKO(5928) | JavaScript error: resource:///modules/AsyncTabSwitcher.jsm, line 377: TypeError: can't access property "schemeIs", requestedBrowser.currentURI is null
[task 2020-03-13T20:00:36.447Z] 20:00:36     INFO - GECKO(5928) | JavaScript error: resource:///modules/AsyncTabSwitcher.jsm, line 377: TypeError: can't access property "schemeIs", requestedBrowser.currentURI is null
[task 2020-03-13T20:00:36.751Z] 20:00:36     INFO - GECKO(5928) | JavaScript error: resource:///modules/AsyncTabSwitcher.jsm, line 377: TypeError: can't access property "schemeIs", requestedBrowser.currentURI is null
[task 2020-03-13T20:00:37.055Z] 20:00:37     INFO - GECKO(5928) | JavaScript error: resource:///modules/AsyncTabSwitcher.jsm, line 377: TypeError: can't access property "schemeIs", requestedBrowser.currentURI is null
[task 2020-03-13T20:00:37.378Z] 20:00:37     INFO - GECKO(5928) | JavaScript error: resource:///modules/AsyncTabSwitcher.jsm, line 377: TypeError: can't access property "schemeIs", requestedBrowser.currentURI is null
[task 2020-03-13T20:00:37.686Z] 20:00:37     INFO - GECKO(5928) | JavaScript error: resource:///modules/AsyncTabSwitcher.jsm, line 377: TypeError: can't access property "schemeIs", requestedBrowser.currentURI is null
[task 2020-03-13T20:00:37.805Z] 20:00:37     INFO - GECKO(5928) | MEMORY STAT | vsize 2104869MB | vsizeMaxContiguous 65151198MB | residentFast 609MB | heapAllocated 258MB
[task 2020-03-13T20:00:37.805Z] 20:00:37     INFO - TEST-OK | browser/components/customizableui/test/browser_widget_animation.js | took 2678ms
[task 2020-03-13T20:00:37.805Z] 20:00:37     INFO - GECKO(5928) | [Child 8488: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 000001BB39B4F800 == 2 [pid = 8488] [id = {35a9cdf2-74d7-4326-a1cf-256a05e2c30a}]
[task 2020-03-13T20:00:37.805Z] 20:00:37     INFO - GECKO(5928) | [Child 8488: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (000001BB39BD1600) [pid = 8488] [serial = 226] [outer = 0000000000000000]
[task 2020-03-13T20:00:37.805Z] 20:00:37     INFO - GECKO(5928) | [Child 8488: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (000001BB39BAC000) [pid = 8488] [serial = 227] [outer = 000001BB39BD1600]
[task 2020-03-13T20:00:37.828Z] 20:00:37     INFO - GECKO(5928) | [Child 8488: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (000001BB41B4B400) [pid = 8488] [serial = 228] [outer = 000001BB39BD1600]
[task 2020-03-13T20:00:37.832Z] 20:00:37     INFO - checking window state

[task 2020-03-13T20:00:55.861Z] 20:00:55     INFO - GECKO(5928) | [Parent 4756: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (000002EFC3B202B0) [pid = 4756] [serial = 7] [outer = 0000000000000000] [url = about:blank]
[task 2020-03-13T20:00:55.861Z] 20:00:55     INFO - GECKO(5928) | [Parent 4756: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (000002EFD66C8000) [pid = 4756] [serial = 342] [outer = 0000000000000000] [url = about:blank]
[task 2020-03-13T20:00:55.885Z] 20:00:55     INFO - GECKO(5928) | [Parent 4756: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (000002EFC71F7800) [pid = 4756] [serial = 11] [outer = 0000000000000000] [url = resource://gre-resources/hiddenWindow.html]
[task 2020-03-13T20:00:55.924Z] 20:00:55     INFO - GECKO(5928) | [Parent 4756, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp, line 3352
[task 2020-03-13T20:00:56.036Z] 20:00:56     INFO - GECKO(5928) | nsStringStats
[task 2020-03-13T20:00:56.036Z] 20:00:56     INFO - GECKO(5928) |  => mAllocCount:        1102368
[task 2020-03-13T20:00:56.036Z] 20:00:56     INFO - GECKO(5928) |  => mReallocCount:            1
[task 2020-03-13T20:00:56.036Z] 20:00:56     INFO - GECKO(5928) |  => mFreeCount:         1102368
[task 2020-03-13T20:00:56.036Z] 20:00:56     INFO - GECKO(5928) |  => mShareCount:        1139896
[task 2020-03-13T20:00:56.036Z] 20:00:56     INFO - GECKO(5928) |  => mAdoptCount:          11303
[task 2020-03-13T20:00:56.037Z] 20:00:56     INFO - GECKO(5928) |  => mAdoptFreeCount:      12448
[task 2020-03-13T20:00:56.037Z] 20:00:56     INFO - GECKO(5928) |  => Process ID: 4756, Thread ID: 1680
[task 2020-03-13T20:00:56.079Z] 20:00:56     INFO - TEST-INFO | Main app process: exit 0
[task 2020-03-13T20:00:56.079Z] 20:00:56     INFO - TEST-INFO | Confirming we saw 356 DOCSHELL created and 356 destroyed log strings.
[task 2020-03-13T20:00:56.080Z] 20:00:56     INFO - TEST-INFO | Confirming we saw 927 DOMWINDOW created and 927 destroyed log strings.
[task 2020-03-13T20:00:56.080Z] 20:00:56    ERROR - TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_985815_propagate_setToolbarVisibility.js | leaked 1 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
[task 2020-03-13T20:00:56.081Z] 20:00:56    ERROR - TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_985815_propagate_setToolbarVisibility.js | leaked 1 window(s) until shutdown [url = about:blank]
[task 2020-03-13T20:00:56.081Z] 20:00:56     INFO - TEST-INFO | browser/components/customizableui/test/browser_985815_propagate_setToolbarVisibility.js | windows(s) leaked: [pid = 4756] [serial = 165], [pid = 4756] [serial = 166]
[task 2020-03-13T20:00:56.082Z] 20:00:56     INFO - TEST-INFO | browser/components/customizableui/test/browser_985815_propagate_setToolbarVisibility.js | This test created 1 hidden window(s)
[task 2020-03-13T20:00:56.082Z] 20:00:56     INFO - TEST-INFO | browser/components/customizableui/test/browser_985815_propagate_setToolbarVisibility.js | This test created 1 hidden docshell(s)
[task 2020-03-13T20:00:56.082Z] 20:00:56     INFO - TEST-INFO | browser/components/customizableui/test/browser_1003588_no_specials_in_panel.js | This test created 1 hidden window(s)
[task 2020-03-13T20:00:56.083Z] 20:00:56     INFO - TEST-INFO | browser/components/customizableui/test/browser_1003588_no_specials_in_panel.js | This test created 1 hidden docshell(s)
[task 2020-03-13T20:00:56.083Z] 20:00:56     INFO - TEST-INFO | browser/components/customizableui/test/browser_1007336_lwthemes_in_customize_mode.js | This test created 1 hidden window(s)
[task 2020-03-13T20:00:56.084Z] 20:00:56     INFO - TEST-INFO | browser/components/customizableui/test/browser_1007336_lwthemes_in_customize_mode.js | This test created 1 hidden docshell(s)