Closed Bug 1664643 Opened 4 years ago Closed 4 years ago

timer.jsm could be removed

Categories

(MailNews Core :: Security: OpenPGP, task)

Tracking

(thunderbird_esr78 wontfix, thunderbird82 wontfix)

RESOLVED FIXED
83 Branch
Tracking Status
thunderbird_esr78 --- wontfix
thunderbird82 --- wontfix

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

timer.jsm (EnigmailTimer) appears to be a wrapper around Timer.jsm.

I'm not sure why it wraps the setTimeout callback with an additional clearTimeout, as that isn't necessary.

Hence, I think all of these instances could be replaced:

https://searchfox.org/comm-central/search?q=EnigmailTimer&path=&case=false&regexp=false

Assignee: nobody → standard8
Status: NEW → ASSIGNED

Depends on D90025

Blocks: 1664697
Blocks: 1595318

Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/comm-central/rev/f7adc5d5c5b2
Replace imports in some openpgp jsm files with lazy getters. r=kaie
https://hg.mozilla.org/comm-central/rev/893bc9ef47a8
Remove EnigmailTimer as it is just a wrapper around Timer.jsm. r=kaie
https://hg.mozilla.org/comm-central/rev/ce507044e540
Remove obsolete EnigmailEvents. r=kaie

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

Attachment

General

Created:
Updated:
Size: