Bug 1811332 - Make sure `this.indicator` is truthy before using it. r=Gijs
commitc4ea893f2d09396b2116345444a2f6cf5146436d
authorWilliam Durand <will+git@drnd.me>
Tue, 14 Feb 2023 12:03:02 +0000 (14 12:03 +0000)
committerWilliam Durand <will+git@drnd.me>
Tue, 14 Feb 2023 12:03:02 +0000 (14 12:03 +0000)
treec49c61d7b78c9609c9f4b5768b69a9a690857eae
parentbb324f0e83afaf5fd43921480a300058521cfc3d
Bug 1811332 - Make sure `this.indicator` is truthy before using it. r=Gijs

The `indicator` getter may return `null` so we cannot just call methods on it.

Differential Revision: https://phabricator.services.mozilla.com/D169717
browser/components/downloads/content/indicator.js