Closed Bug 1977308 Opened 8 months ago Closed 8 months ago

Clean up message loading in about:message and avoid using an nsIUrlListener

Categories

(Thunderbird :: Message Reader UI, task)

task

Tracking

(Not tracked)

RESOLVED FIXED
142 Branch

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

Attachments

(1 file)

My patch in bug 1975706 uncovered a rabbit hole and I'm finally doing the sensible thing and starting a new bug to deal with it. As it stands we create an nsIUrlListener and pass it to loadMessage. But EWS doesn't do anything with the listener argument and so OnStopRunningUrl is never called which means a bunch of things don't happen for EWS messages. Notably in a standalone message window the Get Messages button isn't enabled because that only happens when the message is fully loaded for some reason. That's what caused the failure on the first attempt to land the patch.

I'm not going to kill the listener straight away as that would involve fixing a bunch of newsgroup stuff, but we can avoid using it as much as possible.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/5c77dd5157d7
Clean up message loading in about:message and avoid using an nsIUrlListener. r=aleca

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

Attachment

General

Created:
Updated:
Size: