Closed Bug 1812187 Opened 1 year ago Closed 1 year ago

TreeViewListrow sometimes isn't available when ThreadListrow extends it

Categories

(Thunderbird :: Mail Window Front End, defect)

Thunderbird 111
defect

Tracking

(thunderbird_esr102 unaffected)

RESOLVED FIXED
111 Branch
Tracking Status
thunderbird_esr102 --- unaffected

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

ThreadListrow is defined like so:

class ThreadListrow extends customElements.get("tree-view-listrow") {

But sometimes this throws because tree-view-listrow hasn't been defined yet. I don't know why, but the module it is in hasn't loaded before we get to this line.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/59fe796bb8e3
Wait for TreeViewListrow to be defined before extending it. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Version: unspecified → Thunderbird 111
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: