Bug: Intermittent browser/components/urlbar/tests/browser/browser_waitForLoadOrTimeout.js | Page should have loaded before timeout - null == true - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_waitForLoadOrTim
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-09-19 16:38:56+00:00
Resolved: 2023-10-13 16:16:33+00:00

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

---
```
[task 2020-09-19T13:26:42.923Z] 13:26:42     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_waitForLoadOrTimeout.js
[task 2020-09-19T13:26:42.932Z] 13:26:42     INFO - GECKO(4436) | [Child 4715: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7fb5e8738400 == 1 [pid = 4715] [id = {defaf367-7ba1-4cfe-bbb3-273ada59d162}]
[task 2020-09-19T13:26:42.933Z] 13:26:42     INFO - GECKO(4436) | [Child 4715: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7fb606193520) [pid = 4715] [serial = 138] [outer = (nil)]
[task 2020-09-19T13:26:42.934Z] 13:26:42     INFO - GECKO(4436) | [Child 4715: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x7fb5e8738800) [pid = 4715] [serial = 139] [outer = 0x7fb606193520]
[task 2020-09-19T13:26:43.143Z] 13:26:43     INFO - GECKO(4436) | [Child 4715: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (0x7fb5e873ec00) [pid = 4715] [serial = 140] [outer = 0x7fb606193520]
[task 2020-09-19T13:26:43.266Z] 13:26:43     INFO - GECKO(4436) | [Parent 4436, Main Thread] WARNING: '!mOwner', file /builds/worker/checkouts/gecko/dom/events/Event.cpp, line 704
[task 2020-09-19T13:26:43.367Z] 13:26:43     INFO - GECKO(4436) | [Parent 4436: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 38 (0x7fb90ca18800) [pid = 4436] [serial = 356] [outer = (nil)] [url = about:blank]
[task 2020-09-19T13:26:43.368Z] 13:26:43     INFO - GECKO(4436) | [Parent 4436: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 37 (0x7fb90cbb4400) [pid = 4436] [serial = 361] [outer = (nil)] [url = about:blank]
[task 2020-09-19T13:26:43.368Z] 13:26:43     INFO - GECKO(4436) | [Parent 4436: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 36 (0x7fb90f7d4800) [pid = 4436] [serial = 359] [outer = (nil)] [url = about:blank]
[task 2020-09-19T13:26:43.369Z] 13:26:43     INFO - GECKO(4436) | [Parent 4436: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 35 (0x7fb90e882000) [pid = 4436] [serial = 364] [outer = (nil)] [url = about:blank]
[task 2020-09-19T13:26:43.445Z] 13:26:43     INFO - GECKO(4436) | [Parent 4436: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fb90d678400 == 20 [pid = 4436] [id = {17402e96-71a7-4f33-b99d-ecaf90782980}] [url = about:blank]
[task 2020-09-19T13:26:43.445Z] 13:26:43     INFO - GECKO(4436) | [Parent 4436: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fb90cbc1000 == 19 [pid = 4436] [id = {ae9aa748-da2b-4b8a-a2cb-0d4dfd1f4cb7}] [url = about:mozilla]
[task 2020-09-19T13:26:43.509Z] 13:26:43     INFO - GECKO(4436) | [Child 9462: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7ff3612e5400 == 1 [pid = 9462] [id = {defaf367-7ba1-4cfe-bbb3-273ada59d162}]
[task 2020-09-19T13:26:43.509Z] 13:26:43     INFO - GECKO(4436) | [Child 9462, Main Thread] WARNING: NS_ENSURE_TRUE(browserChrome) failed: file /builds/worker/checkouts/gecko/docshell/base/nsDocShell.cpp, line 12045
[task 2020-09-19T13:26:43.530Z] 13:26:43     INFO - GECKO(4436) | [Child 9462: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7ff377593520) [pid = 9462] [serial = 1] [outer = (nil)]
[task 2020-09-19T13:26:43.533Z] 13:26:43     INFO - GECKO(4436) | [Child 9462: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7ff35af52000) [pid = 9462] [serial = 2] [outer = 0x7ff377593520]
[task 2020-09-19T13:26:43.697Z] 13:26:43     INFO - GECKO(4436) | [9545, Unnamed thread 7fb99f95d5e0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-19T13:26:43.698Z] 13:26:43     INFO - GECKO(4436) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp1GUNnK.mozrunner/runtests_leaks.log
[task 2020-09-19T13:26:43.699Z] 13:26:43     INFO - GECKO(4436) | [9545, Unnamed thread 7fb99f95d5e0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-19T13:26:43.699Z] 13:26:43     INFO - GECKO(4436) | [9545, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp, line 246
[task 2020-09-19T13:26:43.731Z] 13:26:43     INFO - GECKO(4436) | [Child 9462, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp, line 348
[task 2020-09-19T13:26:43.745Z] 13:26:43     INFO - GECKO(4436) | [Child 9462: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7ff35b241000) [pid = 9462] [serial = 3] [outer = 0x7ff377593520]
[task 2020-09-19T13:26:43.767Z] 13:26:43     INFO - GECKO(4436) | [Parent 4436: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fb90ca59c00 == 18 [pid = 4436] [id = {d40312ba-31e6-4429-883b-6d82fe401379}] [url = about:blank]
[task 2020-09-19T13:26:43.868Z] 13:26:43     INFO - GECKO(4436) | [Child 9545, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp, line 626
[task 2020-09-19T13:26:44.518Z] 13:26:44     INFO - GECKO(4436) | [Child 4715: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0x7fb5e8736c00) [pid = 4715] [serial = 136] [outer = (nil)] [url = about:blank]
[task 2020-09-19T13:26:44.519Z] 13:26:44     INFO - GECKO(4436) | [Child 4715: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fb5e8738400 == 0 [pid = 4715] [id = {defaf367-7ba1-4cfe-bbb3-273ada59d162}] [url = about:blank]
[task 2020-09-19T13:26:44.578Z] 13:26:44     INFO - GECKO(4436) | [Child 4715: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0x7fb606193180) [pid = 4715] [serial = 135] [outer = (nil)] [url = about:blank]
[task 2020-09-19T13:26:44.719Z] 13:26:44     INFO - TEST-INFO | started process screentopng
[task 2020-09-19T13:26:45.055Z] 13:26:45     INFO - TEST-INFO | screentopng: exit 0
[task 2020-09-19T13:26:45.056Z] 13:26:45     INFO - Buffered messages logged at 13:26:42
[task 2020-09-19T13:26:45.056Z] 13:26:45     INFO - Entering test bound load
[task 2020-09-19T13:26:45.056Z] 13:26:45     INFO - Buffered messages logged at 13:26:43
[task 2020-09-19T13:26:45.056Z] 13:26:45     INFO - Awaiting for the urlbar panel to open
[task 2020-09-19T13:26:45.056Z] 13:26:45     INFO - Buffered messages finished
[task 2020-09-19T13:26:45.057Z] 13:26:45     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_waitForLoadOrTimeout.js | Page should have loaded before timeout - null == true - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_waitForLoadOrTimeout.js :: load/< :: line 22
[task 2020-09-19T13:26:45.057Z] 13:26:45     INFO - Stack trace:
[task 2020-09-19T13:26:45.057Z] 13:26:45     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_waitForLoadOrTimeout.js:load/<:22
[task 2020-09-19T13:26:45.057Z] 13:26:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-09-19T13:26:45.057Z] 13:26:45     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_waitForLoadOrTimeout.js | Uncaught exception - at chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_waitForLoadOrTimeout.js:24 - TypeError: can't access property "target", loadEvent is null
[task 2020-09-19T13:26:45.057Z] 13:26:45     INFO - Stack trace:
[task 2020-09-19T13:26:45.057Z] 13:26:45     INFO - load/<@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_waitForLoadOrTimeout.js:24:1
[task 2020-09-19T13:26:45.057Z] 13:26:45     INFO - Leaving test bound load
[task 2020-09-19T13:26:45.058Z] 13:26:45     INFO - Entering test bound timeout
[task 2020-09-19T13:26:45.058Z] 13:26:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-09-19T13:26:45.060Z] 13:26:45     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_waitForLoadOrTimeout.js | No page should have loaded, and timeout should have fired - false == true - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_waitForLoadOrTimeout.js :: timeout :: line 33
[task 2020-09-19T13:26:45.060Z] 13:26:45     INFO - Stack trace:
[task 2020-09-19T13:26:45.061Z] 13:26:45     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_waitForLoadOrTimeout.js:timeout:33
[task 2020-09-19T13:26:45.062Z] 13:26:45     INFO - Leaving test bound timeout
[task 2020-09-19T13:26:45.062Z] 13:26:45     INFO - GECKO(4436) | MEMORY STAT | vsize 3685MB | residentFast 600MB | heapAllocated 245MB
[task 2020-09-19T13:26:45.062Z] 13:26:45     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_waitForLoadOrTimeout.js | took 1848ms
[task 2020-09-19T13:26:45.063Z] 13:26:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-09-19T13:26:45.063Z] 13:26:45     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_waitForLoadOrTimeout.js | Found an unexpected tab at the end of test run: http://example.com/ - 
[task 2020-09-19T13:26:45.066Z] 13:26:45     INFO - GECKO(4436) | [Child 4709: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f527c733800 == 2 [pid = 4709] [id = {34e5aa04-f845-42e6-a002-97e1e86c32c1}]
[task 2020-09-19T13:26:45.067Z] 13:26:45     INFO - GECKO(4436) | [Child 4709: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7f527e4c2090) [pid = 4709] [serial = 327] [outer = (nil)]
[task 2020-09-19T13:26:45.067Z] 13:26:45     INFO - GECKO(4436) | [Child 4709: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x7f527c735400) [pid = 4709] [serial = 328] [outer = 0x7f527e4c2090]
[task 2020-09-19T13:26:45.068Z] 13:26:45     INFO - checking window state```