Bug: Intermittent browser/components/newtab/test/browser/browser_aboutwelcome_observer.js | Uncaught exception - [Exception... "Component is not available"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: JS frame :: browser_aboutwelcome_observer.js
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2020-04-15 06:14:27+00:00
Resolved: 2020-04-20 06:39:48+00:00

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

---

[task 2020-04-15T05:37:51.259Z] 05:37:51     INFO - TEST-START | browser/components/newtab/test/browser/browser_aboutwelcome_observer.js
[task 2020-04-15T05:37:51.285Z] 05:37:51     INFO - GECKO(1775) | [Child 1787: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x14b2cc800 == 13 [pid = 1787] [id = {c97d490f-92b7-c54a-8ad3-cc505ef74aa6}]
[task 2020-04-15T05:37:51.285Z] 05:37:51     INFO - GECKO(1775) | [Child 1787: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 37 (0x112afd200) [pid = 1787] [serial = 37] [outer = 0x0]
[task 2020-04-15T05:37:51.285Z] 05:37:51     INFO - GECKO(1775) | [Child 1787: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 38 (0x14b328c00) [pid = 1787] [serial = 38] [outer = 0x112afd200]
[task 2020-04-15T05:37:51.367Z] 05:37:51     INFO - GECKO(1775) | [Child 1787: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 37 (0x11d80c800) [pid = 1787] [serial = 5] [outer = 0x0] [url = about:blank]
[task 2020-04-15T05:37:51.369Z] 05:37:51     INFO - GECKO(1775) | [Child 1787: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 36 (0x11d8ed000) [pid = 1787] [serial = 8] [outer = 0x0] [url = about:blank]
[task 2020-04-15T05:37:51.369Z] 05:37:51     INFO - GECKO(1775) | [Child 1787: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 35 (0x120833400) [pid = 1787] [serial = 14] [outer = 0x0] [url = about:blank]
[task 2020-04-15T05:37:51.369Z] 05:37:51     INFO - GECKO(1775) | [Child 1787: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 34 (0x120754800) [pid = 1787] [serial = 11] [outer = 0x0] [url = about:blank]
[task 2020-04-15T05:37:51.369Z] 05:37:51     INFO - GECKO(1775) | [Child 1787: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 33 (0x112a6a800) [pid = 1787] [serial = 2] [outer = 0x0] [url = about:blank]
[task 2020-04-15T05:37:51.387Z] 05:37:51     INFO - GECKO(1775) | [Child 1787: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 34 (0x11d8ec400) [pid = 1787] [serial = 39] [outer = 0x112afd200]
[task 2020-04-15T05:37:51.457Z] 05:37:51     INFO - GECKO(1775) | [1792, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-04-15T05:37:51.457Z] 05:37:51     INFO - GECKO(1775) | [1792, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-04-15T05:37:51.457Z] 05:37:51     INFO - GECKO(1775) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /var/folders/_t/k5bnz3rn79q442jjl1g2z4n0000017/T/tmplorJGv.mozrunner/runtests_leaks_tab_pid1792.log
[task 2020-04-15T05:37:51.457Z] 05:37:51     INFO - GECKO(1775) | [1792, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-04-15T05:37:51.457Z] 05:37:51     INFO - GECKO(1775) | [1792, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-04-15T05:37:51.458Z] 05:37:51     INFO - GECKO(1775) | [1792, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp, line 221
[task 2020-04-15T05:37:52.198Z] 05:37:52     INFO - GECKO(1775) | [Child 1787: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x119fdbc00 == 14 [pid = 1787] [id = {95cfc2e0-e11b-3d4d-871f-846eac04150d}]
[task 2020-04-15T05:37:52.198Z] 05:37:52     INFO - GECKO(1775) | [Child 1787: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 35 (0x12507ee40) [pid = 1787] [serial = 40] [outer = 0x0]
[task 2020-04-15T05:37:52.198Z] 05:37:52     INFO - GECKO(1775) | [Child 1787: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 36 (0x11b762000) [pid = 1787] [serial = 41] [outer = 0x12507ee40]
[task 2020-04-15T05:37:52.284Z] 05:37:52     INFO - TEST-INFO | started process screencapture
[task 2020-04-15T05:37:52.428Z] 05:37:52     INFO - TEST-INFO | screencapture: exit 0
[task 2020-04-15T05:37:52.428Z] 05:37:52     INFO - Buffered messages logged at 05:37:51
[task 2020-04-15T05:37:52.428Z] 05:37:52     INFO - Entering test bound test_About_Welcome_Tab_Close
[task 2020-04-15T05:37:52.429Z] 05:37:52     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_aboutwelcome_observer.js | Active window is not null - [object ChromeWindow] == true - 
[task 2020-04-15T05:37:52.429Z] 05:37:52     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_aboutwelcome_observer.js | AboutWelcomeObserver is not null - [object Object] == true - 
[task 2020-04-15T05:37:52.437Z] 05:37:52     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_aboutwelcome_observer.js | Terminated due to tab closed - "welcome-tab-closed" == "welcome-tab-closed" - 
[task 2020-04-15T05:37:52.438Z] 05:37:52     INFO - Leaving test bound test_About_Welcome_Tab_Close
[task 2020-04-15T05:37:52.438Z] 05:37:52     INFO - Entering test bound test_About_Welcome_Location_Change
[task 2020-04-15T05:37:52.438Z] 05:37:52     INFO - Buffered messages finished
[task 2020-04-15T05:37:52.438Z] 05:37:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_aboutwelcome_observer.js | Uncaught exception - [Exception... "Component is not available"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_aboutwelcome_observer.js :: test_About_Welcome_Location_Change :: line 60"  data: no]
[task 2020-04-15T05:37:52.438Z] 05:37:52     INFO - Stack trace:
[task 2020-04-15T05:37:52.438Z] 05:37:52     INFO - test_About_Welcome_Location_Change@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_aboutwelcome_observer.js:60:47
[task 2020-04-15T05:37:52.438Z] 05:37:52     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1039:34
[task 2020-04-15T05:37:52.439Z] 05:37:52     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1074:11
[task 2020-04-15T05:37:52.439Z] 05:37:52     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:904:14
[task 2020-04-15T05:37:52.439Z] 05:37:52     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:918:23
[task 2020-04-15T05:37:52.439Z] 05:37:52     INFO - Leaving test bound test_About_Welcome_Location_Change
[task 2020-04-15T05:37:52.439Z] 05:37:52     INFO - GECKO(1775) | [Child 1787: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 37 (0x14b4d7800) [pid = 1787] [serial = 42] [outer = 0x12507ee40]
[task 2020-04-15T05:37:52.439Z] 05:37:52     INFO - GECKO(1775) | console.warn: AboutWelcomeParent.jsm: Not handling AWPage:LOCATION_CHANGED because the browser doesn't exist.
[task 2020-04-15T05:37:52.440Z] 05:37:52     INFO - GECKO(1775) | MEMORY STAT | vsize 7641MB | residentFast 340MB | heapAllocated 139MB
[task 2020-04-15T05:37:52.440Z] 05:37:52     INFO - TEST-OK | browser/components/newtab/test/browser/browser_aboutwelcome_observer.js | took 1058ms