Bug: Intermittent browser/base/content/test/tabs/browser_close_during_beforeunload.js | Before unload confirmation should have been shown -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-10-06 18:52:06+00:00
Resolved: 2023-06-28 12:00:58+00:00

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

---
```
[task 2020-10-06T17:23:43.754Z] 17:23:43     INFO - TEST-START | browser/base/content/test/tabs/browser_close_during_beforeunload.js
[task 2020-10-06T17:23:43.775Z] 17:23:43     INFO - GECKO(4246) | [Child 4820: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7f56b8e93520) [pid = 4820] [serial = 1] [outer = (nil)] [url = http://mochi.test:8888/]
[task 2020-10-06T17:23:43.776Z] 17:23:43     INFO - GECKO(4246) | [Child 4820: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x7f569ca34c00) [pid = 4820] [serial = 3] [outer = (nil)] [url = http://mochi.test:8888/]
[task 2020-10-06T17:23:43.776Z] 17:23:43     INFO - GECKO(4246) | [Child 4820: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x7f569c752000) [pid = 4820] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2020-10-06T17:23:43.814Z] 17:23:43     INFO - GECKO(4246) | [Child 4820, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp, line 3359
[task 2020-10-06T17:23:43.815Z] 17:23:43     INFO - GECKO(4246) | [Parent 4246: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f08cd91a400 == 6 [pid = 4246] [id = 14]
[task 2020-10-06T17:23:43.816Z] 17:23:43     INFO - GECKO(4246) | [Parent 4246: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 13 (0x7f08d1417e30) [pid = 4246] [serial = 31] [outer = (nil)]
[task 2020-10-06T17:23:43.816Z] 17:23:43     INFO - GECKO(4246) | [Parent 4246: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 14 (0x7f08cd917c00) [pid = 4246] [serial = 32] [outer = 0x7f08d1417e30]
[task 2020-10-06T17:23:43.853Z] 17:23:43     INFO - GECKO(4246) | [Child 4820, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp, line 4287
[task 2020-10-06T17:23:43.854Z] 17:23:43     INFO - GECKO(4246) | [Child 4532: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fb978c53800 == 0 [pid = 4532] [id = 3] [url = about:blank]
[task 2020-10-06T17:23:43.870Z] 17:23:43     INFO - GECKO(4246) | [Parent 4246, Main Thread] WARNING: NS_ENSURE_TRUE(rootFrame) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp, line 4280
[task 2020-10-06T17:23:44.067Z] 17:23:44     INFO - GECKO(4246) | [Parent 4246: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f08d0c5a400 == 7 [pid = 4246] [id = 15]
[task 2020-10-06T17:23:44.068Z] 17:23:44     INFO - GECKO(4246) | [Parent 4246: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 15 (0x7f08d1414260) [pid = 4246] [serial = 33] [outer = (nil)]
[task 2020-10-06T17:23:44.069Z] 17:23:44     INFO - GECKO(4246) | [Parent 4246, Main Thread] WARNING: 'NS_FAILED(targetPrincipal->GetAsciiOrigin(targetOrigin))', file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp, line 347
[task 2020-10-06T17:23:44.125Z] 17:23:44     INFO - GECKO(4246) | [Child 4532: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7fb978c56c00 == 1 [pid = 4532] [id = 4]
[task 2020-10-06T17:23:44.126Z] 17:23:44     INFO - GECKO(4246) | [Child 4532: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7fb995393520) [pid = 4532] [serial = 10] [outer = (nil)]
[task 2020-10-06T17:23:44.127Z] 17:23:44     INFO - GECKO(4246) | [Child 4532: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7fb978c58800) [pid = 4532] [serial = 11] [outer = 0x7fb995393520]
[task 2020-10-06T17:23:44.182Z] 17:23:44     INFO - GECKO(4246) | [Parent 4246, Main Thread] WARNING: NS_ENSURE_TRUE(presShell) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp, line 4278
[task 2020-10-06T17:23:44.190Z] 17:23:44     INFO - GECKO(4246) | [Parent 4246: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 16 (0x7f08cd924400) [pid = 4246] [serial = 34] [outer = 0x7f08d1414260]
[task 2020-10-06T17:23:44.439Z] 17:23:44     INFO - GECKO(4246) | [Child 4532: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x7fb978cad000) [pid = 4532] [serial = 12] [outer = 0x7fb995393520]
[task 2020-10-06T17:23:44.600Z] 17:23:44     INFO - GECKO(4246) | [Child 4860: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7fd06a3eb000 == 1 [pid = 4860] [id = 0]
[task 2020-10-06T17:23:44.607Z] 17:23:44     INFO - GECKO(4246) | [Parent 4246, Main Thread] WARNING: Not implemented in the parent process!: file /builds/worker/checkouts/gecko/docshell/shistory/SessionHistoryEntry.cpp, line 468
[task 2020-10-06T17:23:44.615Z] 17:23:44     INFO - GECKO(4246) | [Child 4860: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7fd080893520) [pid = 4860] [serial = 1] [outer = (nil)]
[task 2020-10-06T17:23:44.616Z] 17:23:44     INFO - GECKO(4246) | [Child 4860: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7fd06404d000) [pid = 4860] [serial = 2] [outer = 0x7fd080893520]
[task 2020-10-06T17:23:44.686Z] 17:23:44     INFO - GECKO(4246) | [Child 4860, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp, line 348
[task 2020-10-06T17:23:44.700Z] 17:23:44     INFO - GECKO(4246) | [Child 4860: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7fd06433b800) [pid = 4860] [serial = 3] [outer = 0x7fd080893520]
[task 2020-10-06T17:23:44.781Z] 17:23:44     INFO - TEST-INFO | started process screentopng
[task 2020-10-06T17:23:45.038Z] 17:23:45     INFO - TEST-INFO | screentopng: exit 0
[task 2020-10-06T17:23:45.041Z] 17:23:45     INFO - Buffered messages logged at 17:23:43
[task 2020-10-06T17:23:45.042Z] 17:23:45     INFO - Entering test bound 
[task 2020-10-06T17:23:45.042Z] 17:23:45     INFO - Buffered messages finished
[task 2020-10-06T17:23:45.043Z] 17:23:45     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabs/browser_close_during_beforeunload.js | Before unload confirmation should have been shown -```