Bug: High frequency browser/components/tests/browser/browser_browserGlue_upgradeDialog_trigger.js | A promise chain failed to handle a rejection: can't access property "enable" of null - stack: enableTheme@chrome://browser/content/upgradeDialog.js:93:23
Status: RESOLVED
Priority: P1
Resolution: FIXED
Created: 2022-02-08 04:50:02+00:00
Resolved: 2022-03-04 04:20:47+00:00

**Filed by:** imoraru [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=367017304&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/QCZpjbHpS12o0ByJrQzVzA/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2022-02-08T00:39:41.090Z] 00:39:41     INFO - TEST-PASS | browser/components/tests/browser/browser_browserGlue_upgradeDialog_trigger.js | value in event upgrade_dialog#content#close must match. - "external" matches "external" - 
[task 2022-02-08T00:39:41.091Z] 00:39:41     INFO - Buffered messages finished
[task 2022-02-08T00:39:41.094Z] 00:39:41     INFO - TEST-UNEXPECTED-FAIL | browser/components/tests/browser/browser_browserGlue_upgradeDialog_trigger.js | A promise chain failed to handle a rejection: can't access property "enable" of null - stack: enableTheme@chrome://browser/content/upgradeDialog.js:93:23
[task 2022-02-08T00:39:41.095Z] 00:39:41     INFO - Rejection date: Tue Feb 08 2022 00:39:40 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-02-08T00:39:41.096Z] 00:39:41     INFO - Stack trace:
[task 2022-02-08T00:39:41.096Z] 00:39:41     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-02-08T00:39:41.098Z] 00:39:41     INFO - chrome://mochikit/content/browser-test.js:handleTask:1017
[task 2022-02-08T00:39:41.099Z] 00:39:41     INFO - Leaving test bound show_major_upgrade
[task 2022-02-08T00:39:41.100Z] 00:39:41     INFO - Entering test bound dont_reshow
[task 2022-02-08T00:39:41.102Z] 00:39:41     INFO - Checking telemetry events: Shouldn't reshow for upgrade dialog requirements
[task 2022-02-08T00:39:41.103Z] 00:39:41     INFO - TEST-PASS | browser/components/tests/browser/browser_browserGlue_upgradeDialog_trigger.js | parent must be in snapshot. Has [parent]. - true == true - 
[task 2022-02-08T00:39:41.105Z] 00:39:41     INFO - TEST-PASS | browser/components/tests/browser/browser_browserGlue_upgradeDialog_trigger.js | After filtering we must have the expected number of events. - 1 == 1 - 
[task 2022-02-08T00:39:41.106Z] 00:39:41     INFO - TEST-PASS | browser/components/tests/browser/browser_browserGlue_upgradeDialog_trigger.js | category in event upgrade_dialog#trigger#reason must match. - "upgrade_dialog" matches "upgrade_dialog" - 
[task 2022-02-08T00:39:41.107Z] 00:39:41     INFO - TEST-PASS | browser/components/tests/browser/browser_browserGlue_upgradeDialog_trigger.js | method in event upgrade_dialog#trigger#reason must match. - "trigger" matches "trigger" - 
[task 2022-02-08T00:39:41.109Z] 00:39:41     INFO - TEST-PASS | browser/components/tests/browser/browser_browserGlue_upgradeDialog_trigger.js | object in event upgrade_dialog#trigger#reason must match. - "reason" matches "reason" - 
[task 2022-02-08T00:39:41.111Z] 00:39:41     INFO - TEST-PASS | browser/components/tests/browser/browser_browserGlue_upgradeDialog_trigger.js | value in event upgrade_dialog#trigger#reason must match. - "already-shown" matches "already-shown" - 
[task 2022-02-08T00:39:41.112Z] 00:39:41     INFO - Leaving test bound dont_reshow
[task 2022-02-08T00:39:41.114Z] 00:39:41     INFO - GECKO(14433) | MEMORY STAT | vsize 11457MB | residentFast 517MB | heapAllocated 285MB
[task 2022-02-08T00:39:41.115Z] 00:39:41     INFO - TEST-OK | browser/components/tests/browser/browser_browserGlue_upgradeDialog_trigger.js | took 1038ms
[task 2022-02-08T00:39:41.117Z] 00:39:41     INFO - checking window state
[task 2022-02-08T00:39:41.118Z] 00:39:41     INFO - TEST-START | browser/components/tests/browser/browser_bug538331.js
```