Bug: Intermittent TV browser/components/tests/browser/browser_browserGlue_upgradeDialog.js | Theme change saved - false == true - JS frame :: chrome://mochitests/content/browser/browser/components/tests/browser/browser_browserGlue_upgradeDialog.js :: theme_cha
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-10-07 05:27:05+00:00
Resolved: 2021-11-09 17:03:51+00:00

**Filed by:** abutkovits [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=353941799&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/FRKZrVwrTpGDj2uJ-qZCpA/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/FRKZrVwrTpGDj2uJ-qZCpA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2021-10-07T04:28:53.751Z] 04:28:53     INFO - TEST-START | browser/components/tests/browser/browser_browserGlue_upgradeDialog.js
[task 2021-10-07T04:28:53.779Z] 04:28:53     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f69da865000 == 20 [pid = 5396] [id = 49]
[task 2021-10-07T04:28:53.780Z] 04:28:53     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 106 (7f69c4256040) [pid = 5396] [serial = 145] [outer = 0]
[task 2021-10-07T04:28:53.781Z] 04:28:53     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 107 (7f69dbc84000) [pid = 5396] [serial = 146] [outer = 7f69c4256040]
[task 2021-10-07T04:28:53.831Z] 04:28:53     INFO - GECKO(5396) | [Parent 5396, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:180
[task 2021-10-07T04:28:53.832Z] 04:28:53     INFO - GECKO(5396) | [Parent 5396, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/dom/security/nsCSPService.cpp:191
[task 2021-10-07T04:28:53.834Z] 04:28:53     INFO - GECKO(5396) | [Parent 5396, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1346
[task 2021-10-07T04:28:53.839Z] 04:28:53     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 108 (7f69f37ef000) [pid = 5396] [serial = 147] [outer = 7f69c4256040]
[task 2021-10-07T04:28:53.856Z] 04:28:53     INFO - GECKO(5396) | [Parent 5396, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1306
[task 2021-10-07T04:28:54.044Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f69da868800 == 21 [pid = 5396] [id = 50]
[task 2021-10-07T04:28:54.047Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 109 (7f69c4256200) [pid = 5396] [serial = 148] [outer = 0]
[task 2021-10-07T04:28:54.049Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 110 (7f69de988800) [pid = 5396] [serial = 149] [outer = 7f69c4256200]
[task 2021-10-07T04:28:54.131Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:180
[task 2021-10-07T04:28:54.132Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/dom/security/nsCSPService.cpp:191
[task 2021-10-07T04:28:54.132Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1346
[task 2021-10-07T04:28:54.134Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 111 (7f69f38cb800) [pid = 5396] [serial = 150] [outer = 7f69c4256200]
[task 2021-10-07T04:28:54.149Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1306
[task 2021-10-07T04:28:54.549Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 110 (7f69cbb4bc80) [pid = 5396] [serial = 49] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:54.550Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 109 (7f69c805a900) [pid = 5396] [serial = 55] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:54.551Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 108 (7f69d067d200) [pid = 5396] [serial = 97] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:54.564Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 107 (7f69dfad6040) [pid = 5396] [serial = 91] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:54.564Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 106 (7f69c9d1b580) [pid = 5396] [serial = 64] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:54.564Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 105 (7f69c9ff2c80) [pid = 5396] [serial = 82] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:54.564Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 104 (7f69cf53a040) [pid = 5396] [serial = 79] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:54.564Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 103 (7f69cf53a200) [pid = 5396] [serial = 70] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:54.564Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 102 (7f69c805a740) [pid = 5396] [serial = 58] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:54.564Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 101 (7f69c9d1be40) [pid = 5396] [serial = 67] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:54.564Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 100 (7f69cf53a900) [pid = 5396] [serial = 73] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:54.564Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 99 (7f69d067d040) [pid = 5396] [serial = 85] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:54.564Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 98 (7f69d067de40) [pid = 5396] [serial = 76] [outer = 0] [url = chrome://global/content/commonDialog.xhtml]
[task 2021-10-07T04:28:54.564Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 97 (7f69dc9e2040) [pid = 5396] [serial = 88] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:54.564Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 96 (7f69c9d1b040) [pid = 5396] [serial = 61] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:54.565Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 95 (7f69c9fe6900) [pid = 5396] [serial = 52] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:54.566Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 94 (7f69cbb4b740) [pid = 5396] [serial = 43] [outer = 0] [url = chrome://global/content/commonDialog.xhtml]
[task 2021-10-07T04:28:54.569Z] 04:28:54     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 93 (7f69c805ac80) [pid = 5396] [serial = 94] [outer = 0] [url = chrome://browser/content/upgradeDialog.html]
[task 2021-10-07T04:28:55.117Z] 04:28:55     INFO - TEST-INFO | started process screentopng
[task 2021-10-07T04:28:55.568Z] 04:28:55     INFO - TEST-INFO | screentopng: exit 0
[task 2021-10-07T04:28:55.569Z] 04:28:55     INFO - Buffered messages logged at 04:28:53
[task 2021-10-07T04:28:55.571Z] 04:28:55     INFO - Entering test bound open_close_dialog
[task 2021-10-07T04:28:55.571Z] 04:28:55     INFO - Console message: Invalid chrome URI (need path): chrome://browser/
[task 2021-10-07T04:28:55.573Z] 04:28:55     INFO - Buffered messages logged at 04:28:54
[task 2021-10-07T04:28:55.574Z] 04:28:55     INFO - TEST-PASS | browser/components/tests/browser/browser_browserGlue_upgradeDialog.js | Upgrade dialog opened and closed - true == true - 
[task 2021-10-07T04:28:55.576Z] 04:28:55     INFO - Leaving test bound open_close_dialog
[task 2021-10-07T04:28:55.578Z] 04:28:55     INFO - Entering test bound theme_change
[task 2021-10-07T04:28:55.579Z] 04:28:55     INFO - Console message: Invalid chrome URI (need path): chrome://browser/
[task 2021-10-07T04:28:55.580Z] 04:28:55     INFO - Buffered messages finished
[task 2021-10-07T04:28:55.581Z] 04:28:55     INFO - TEST-UNEXPECTED-FAIL | browser/components/tests/browser/browser_browserGlue_upgradeDialog.js | Theme change saved - false == true - JS frame :: chrome://mochitests/content/browser/browser/components/tests/browser/browser_browserGlue_upgradeDialog.js :: theme_change :: line 30
[task 2021-10-07T04:28:55.581Z] 04:28:55     INFO - Stack trace:
[task 2021-10-07T04:28:55.582Z] 04:28:55     INFO - chrome://mochitests/content/browser/browser/components/tests/browser/browser_browserGlue_upgradeDialog.js:theme_change:30
[task 2021-10-07T04:28:55.583Z] 04:28:55     INFO - Leaving test bound theme_change
[task 2021-10-07T04:28:55.583Z] 04:28:55     INFO - Entering test bound keyboard_focus_okay
[task 2021-10-07T04:28:55.583Z] 04:28:55     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f69c8175000 == 22 [pid = 5396] [id = 51]
[task 2021-10-07T04:28:55.587Z] 04:28:55     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 94 (7f69c42563c0) [pid = 5396] [serial = 151] [outer = 0]
[task 2021-10-07T04:28:55.587Z] 04:28:55     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 95 (7f69d9060800) [pid = 5396] [serial = 152] [outer = 7f69c42563c0]
[task 2021-10-07T04:28:55.588Z] 04:28:55     INFO - GECKO(5396) | [Parent 5396, Main Thread] WARNING: NS_ENSURE_TRUE(presShell) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4238
[task 2021-10-07T04:28:55.588Z] 04:28:55     INFO - GECKO(5396) | [Parent 5396, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:180
[task 2021-10-07T04:28:55.589Z] 04:28:55     INFO - GECKO(5396) | [Parent 5396, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/dom/security/nsCSPService.cpp:191
[task 2021-10-07T04:28:55.589Z] 04:28:55     INFO - GECKO(5396) | [Parent 5396, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1346
[task 2021-10-07T04:28:55.589Z] 04:28:55     INFO - Console message: Invalid chrome URI (need path): chrome://browser/
[task 2021-10-07T04:28:55.590Z] 04:28:55     INFO - GECKO(5396) | [Parent 5396: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 96 (7f69daaa8c00) [pid = 5396] [serial = 153] [outer = 7f69c42563c0]
[task 2021-10-07T04:28:55.590Z] 04:28:55     INFO - GECKO(5396) | [Parent 5396, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1306
[task 2021-10-07T04:28:55.988Z] 04:28:55     INFO - TEST-PASS | browser/components/tests/browser/browser_browserGlue_upgradeDialog.js | Primary button has focus - {} == {} - 
```