Closed Bug 1672089 Opened 4 years ago Closed 4 years ago

this._addressBooks could be used while undefined in ext-addressBook.js

Categories

(Thunderbird :: Add-Ons: Extensions API, defect)

defect

Tracking

(thunderbird_esr78 unaffected, thunderbird83 affected)

RESOLVED FIXED
84 Branch
Tracking Status
thunderbird_esr78 --- unaffected
thunderbird83 --- affected

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

No description provided.

Uses the ?. operator to check the member exists before accessing it, and updates similar lines to match. (This is effectively the same code but smaller.)

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/3b99df0226e8
Fix use of potentially undefined member this._addressBooks. r=john.bieling

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
Keywords: regression
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: