Bug: Intermittent [TV] browser/components/customizableui/test/browser_widget_animation.js | A promise chain failed to handle a rejection: can't access property "ownerDocument", aNode is null - stack: _getCustomizableChildForNode@resource | After Test timed out
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-04-30 04:17:14+00:00
Resolved: 2021-05-25 17:03:19+00:00

**Filed by:** nbeleuzu [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=338253773&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/by6Rd81WTk-j86ub3KjvNA/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/by6Rd81WTk-j86ub3KjvNA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2021-04-30T01:12:55.988Z] 01:12:55     INFO - TEST-START | browser/components/customizableui/test/browser_widget_animation.js
[task 2021-04-30T01:12:56.129Z] 01:12:56     INFO - GECKO(1527) | Warning: asking to enable_gpu_markers but no supporting extension was found
[task 2021-04-30T01:12:56.378Z] 01:12:56     INFO - GECKO(1527) | JavaScript error: resource:///modules/CustomizeMode.jsm, line 641: TypeError: can't access property "ownerDocument", aNode is null
[task 2021-04-30T01:12:56.587Z] 01:12:56     INFO - GECKO(1527) | [Child 1638: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fb5d76a6c00 == 4 [pid = 1638] [id = 2] [url = moz-extension://07878cc7-9ac3-470c-9d10-55d8adc9a9a8/_generated_background_page.html]
[task 2021-04-30T01:12:56.588Z] 01:12:56     INFO - GECKO(1527) | [Child 1638: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (7fb5d7686c80) [pid = 1638] [serial = 5] [outer = 0] [url = moz-extension://07878cc7-9ac3-470c-9d10-55d8adc9a9a8/_generated_background_page.html]
[task 2021-04-30T01:12:56.635Z] 01:12:56     INFO - GECKO(1527) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpD8tWD9.mozrunner/runtests_leaks_tab_pid1808.log
[task 2021-04-30T01:12:56.636Z] 01:12:56     INFO - GECKO(1527) | [1808, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:254
[task 2021-04-30T01:12:56.697Z] 01:12:56     INFO - GECKO(1527) | [Child 1808, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:619
[task 2021-04-30T01:12:58.423Z] 01:12:58     INFO - GECKO(1527) | [Parent 1527: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7ff9eb877000 == 8 [pid = 1527] [id = 7] [url = about:blank]
[task 2021-04-30T01:12:58.425Z] 01:12:58     INFO - GECKO(1527) | [Parent 1527: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7ff9eb878800 == 7 [pid = 1527] [id = 6] [url = about:blank]
[task 2021-04-30T01:12:58.425Z] 01:12:58     INFO - GECKO(1527) | [Parent 1527: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7ff9eb543400 == 6 [pid = 1527] [id = 5] [url = about:blank]
[task 2021-04-30T01:12:58.427Z] 01:12:58     INFO - GECKO(1527) | [Parent 1527: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7ff9eb53f400 == 5 [pid = 1527] [id = 4] [url = about:blank]
[task 2021-04-30T01:12:58.504Z] 01:12:58     INFO - GECKO(1527) | [Child 1616: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7ff4fe1af800 == 0 [pid = 1616] [id = 0] [url = about:blank]
[task 2021-04-30T01:12:58.560Z] 01:12:58     INFO - GECKO(1527) | [Child 1616: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7ff514964200) [pid = 1616] [serial = 1] [outer = 0] [url = about:blank]
[task 2021-04-30T01:12:58.748Z] 01:12:58     INFO - GECKO(1527) | [Parent 1527: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (7ff9ef28e040) [pid = 1527] [serial = 10] [outer = 0] [url = about:blank]
[task 2021-04-30T01:12:58.749Z] 01:12:58     INFO - GECKO(1527) | [Parent 1527: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (7ff9fa641580) [pid = 1527] [serial = 11] [outer = 0] [url = about:blank]
[task 2021-04-30T01:12:58.749Z] 01:12:58     INFO - GECKO(1527) | [Parent 1527: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (7ff9fd1fb580) [pid = 1527] [serial = 12] [outer = 0] [url = about:blank]
[task 2021-04-30T01:12:58.750Z] 01:12:58     INFO - GECKO(1527) | [Parent 1527: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (7ff9ea515040) [pid = 1527] [serial = 13] [outer = 0] [url = about:blank]
[task 2021-04-30T01:13:00.613Z] 01:13:00     INFO - GECKO(1527) | [Child 1638: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (7fb5d0985c00) [pid = 1638] [serial = 13] [outer = 0] [url = moz-extension://07878cc7-9ac3-470c-9d10-55d8adc9a9a8/_generated_background_page.html]
[task 2021-04-30T01:13:00.613Z] 01:13:00     INFO - GECKO(1527) | [Child 1638: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (7fb5d14e7800) [pid = 1638] [serial = 10] [outer = 0] [url = about:blank]
[task 2021-04-30T01:13:00.614Z] 01:13:00     INFO - GECKO(1527) | [Child 1638: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (7fb5d774d800) [pid = 1638] [serial = 8] [outer = 0] [url = about:blank]
[task 2021-04-30T01:13:00.614Z] 01:13:00     INFO - GECKO(1527) | [Child 1638: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (7fb5d76a8000) [pid = 1638] [serial = 6] [outer = 0] [url = about:blank]
[task 2021-04-30T01:13:00.614Z] 01:13:00     INFO - GECKO(1527) | [Child 1638: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (7fb5d76a0800) [pid = 1638] [serial = 2] [outer = 0] [url = about:blank]
[task 2021-04-30T01:13:00.614Z] 01:13:00     INFO - GECKO(1527) | [Child 1638: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7fb5d76a6000) [pid = 1638] [serial = 4] [outer = 0] [url = about:blank]
[task 2021-04-30T01:13:02.579Z] 01:13:02     INFO - GECKO(1527) | [Child 1616: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7ff4fe1b0800) [pid = 1616] [serial = 2] [outer = 0] [url = about:blank]
[task 2021-04-30T01:13:02.579Z] 01:13:02     INFO - GECKO(1527) | [Child 1616: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7ff4fe1b7800) [pid = 1616] [serial = 3] [outer = 0] [url = about:blank]
[task 2021-04-30T01:13:02.580Z] 01:13:02     INFO - GECKO(1527) | [Child 1616: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7ff4f7fd1800) [pid = 1616] [serial = 4] [outer = 0] [url = about:blank]
[task 2021-04-30T01:13:02.898Z] 01:13:02     INFO - GECKO(1527) | [Parent 1527: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (7ff9eb89a800) [pid = 1527] [serial = 16] [outer = 0] [url = about:blank]
[task 2021-04-30T01:13:02.898Z] 01:13:02     INFO - GECKO(1527) | [Parent 1527: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (7ff9eb895400) [pid = 1527] [serial = 17] [outer = 0] [url = about:blank]
[task 2021-04-30T01:13:02.899Z] 01:13:02     INFO - GECKO(1527) | [Parent 1527: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (7ff9eb544400) [pid = 1527] [serial = 15] [outer = 0] [url = about:blank]
[task 2021-04-30T01:13:02.900Z] 01:13:02     INFO - GECKO(1527) | [Parent 1527: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (7ff9eb541800) [pid = 1527] [serial = 14] [outer = 0] [url = about:blank]
[task 2021-04-30T01:13:02.901Z] 01:13:02     INFO - GECKO(1527) | [Parent 1527: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (7ff9ef27c800) [pid = 1527] [serial = 8] [outer = 0] [url = about:blank]
[task 2021-04-30T01:13:05.369Z] 01:13:05     INFO - GECKO(1527) | [Child 1673: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f1a2a8b3400) [pid = 1673] [serial = 2] [outer = 0] [url = about:blank]
[task 2021-04-30T01:13:08.274Z] 01:13:08     INFO - GECKO(1527) | [Child 1673, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111 (NS_ERROR_NOT_AVAILABLE): file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1349
[task 2021-04-30T01:14:26.151Z] 01:14:26     INFO - TEST-INFO | started process screentopng
[task 2021-04-30T01:14:26.458Z] 01:14:26     INFO - TEST-INFO | screentopng: exit 0
[task 2021-04-30T01:14:26.459Z] 01:14:26     INFO - Buffered messages logged at 01:12:56
[task 2021-04-30T01:14:26.460Z] 01:14:26     INFO - Entering test bound 
[task 2021-04-30T01:14:26.461Z] 01:14:26     INFO - Console message: [JavaScript Error: "TypeError: can't access property "ownerDocument", aNode is null" {file: "resource:///modules/CustomizeMode.jsm" line: 641}]
[task 2021-04-30T01:14:26.462Z] 01:14:26     INFO - Buffered messages finished
[task 2021-04-30T01:14:26.463Z] 01:14:26     INFO - TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_widget_animation.js | Test timed out - 
[task 2021-04-30T01:14:26.464Z] 01:14:26     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-04-30T01:14:26.467Z] 01:14:26     INFO - TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_widget_animation.js | A promise chain failed to handle a rejection: can't access property "ownerDocument", aNode is null - stack: _getCustomizableChildForNode@resource:///modules/CustomizeMode.jsm:641:22
[task 2021-04-30T01:14:26.468Z] 01:14:26     INFO - addToPanel@resource:///modules/CustomizeMode.jsm:767:18
[task 2021-04-30T01:14:26.469Z] 01:14:26     INFO - oncommand@chrome://browser/content/browser.xhtml:1:16
[task 2021-04-30T01:14:26.469Z] 01:14:26     INFO - @chrome://mochitests/content/browser/browser/components/customizableui/test/browser_widget_animation.js:73:63
[task 2021-04-30T01:14:26.470Z] 01:14:26     INFO - Rejection date: Fri Apr 30 2021 01:12:56 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-04-30T01:14:26.471Z] 01:14:26     INFO - Stack trace:
[task 2021-04-30T01:14:26.471Z] 01:14:26     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-04-30T01:14:26.472Z] 01:14:26     INFO - chrome://mochikit/content/browser-test.js:nextTest:635
[task 2021-04-30T01:14:26.474Z] 01:14:26     INFO - GECKO(1527) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2021-04-30T01:14:26.474Z] 01:14:26     INFO - GECKO(1527) | MEMORY STAT | vsize 3452MB | residentFast 470MB | heapAllocated 195MB
[task 2021-04-30T01:14:26.475Z] 01:14:26     INFO - TEST-OK | browser/components/customizableui/test/browser_widget_animation.js | took 90209ms```