Closed Bug 1828056 Opened 2 years ago Closed 2 years ago

Guard all methods of the messageDisplay API to wait till the message tab has been fully loaded

Categories

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

enhancement

Tracking

(thunderbird_esr102 unaffected)

RESOLVED FIXED
114 Branch
Tracking Status
thunderbird_esr102 --- unaffected

People

(Reporter: TbSync, Assigned: TbSync)

References

(Blocks 1 open bug)

Details

(Whiteboard: [Supernova3p])

Attachments

(1 file)

There is no reason, why add-on developers should need to manually detect when a message tab they have received from tabs.onCreated to be fully loaded, before they can use methods like messageDisplays.getDisplayedMessage().

We guarded the compose API already and should do the same for the messageDisplay API.

Assignee: nobody → john
Status: NEW → ASSIGNED
No longer depends on: 1817872
See Also: → 1817872
Target Milestone: --- → 114 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/bd83213604e7
Guard all methods of the messageDisplay API to wait till the message tab has been fully loaded. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Blocks: tb-new-3pane
Whiteboard: [supernova]
Whiteboard: [supernova] → [Supernova3p]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: