Closed Bug 1646119 Opened 8 months ago Closed 7 months ago

UpdateManager: Remove transient _updates getter

Categories

(Toolkit :: Application Update, task)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: WeirdAl, Assigned: WeirdAl)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

UpdateManager.prototype._updates is a lazy getter that destroys itself immediately upon access. I think it's confusing me (and my analysis tools) by doing so.

The accessor has to go anyway as part of asyncification. Making it an independent function shouldn't cost anything.

Attachment #9157089 - Attachment is obsolete: true
Attachment #9157544 - Attachment description: Bug 1646119, UpdateManager: rename _updates getter to buildUpdateArray(). r=bytesized → Bug 1646119, UpdateManager: rename _updates getter to _getUpdates(). r=bytesized
Pushed by dluca@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1a0f2ac294cf
UpdateManager: rename _updates getter to _getUpdates().  r=bytesized,preferences-reviewers,ntim
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.