Closed Bug 1682309 Opened 3 years ago Closed 3 years ago

TransportErrorUrlListener is not an nsIUrlListener

Categories

(Thunderbird :: Security, defect)

defect

Tracking

(thunderbird_esr78+ fixed, thunderbird85? fixed)

RESOLVED FIXED
86 Branch
Tracking Status
thunderbird_esr78 + fixed
thunderbird85 ? fixed

People

(Reporter: neil, Assigned: neil)

References

Details

Attachments

(1 file, 1 obsolete file)

nsIUrlListener has two methods, OnStartRunningUrl and OnStopRunningUrl. TransportErrorUrlListener should have implementations for both of them.

Attached patch Proposed patch (obsolete) — Splinter Review
Assignee: nobody → neil
Attachment #9193041 - Flags: review?(geoff)

Comment on attachment 9193041 [details] [diff] [review]
Proposed patch

The linter will complain that those curly braces aren't on the same line.

Attachment #9193041 - Flags: review?(geoff) → review+
Status: NEW → ASSIGNED
Target Milestone: --- → 86 Branch
Attached patch Linted patchSplinter Review

When I ran the linter it complained about specialTabs.js and then errored out, so I hadn't realised that it had skipped mailWindowOverlay.js completely. I'll try to remember to lint only the files I change to avoid that in future.

Attachment #9193041 - Attachment is obsolete: true
Attachment #9193498 - Flags: review+

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/899f1a395bb7
TransportErrorUrlListener should be an nsIUrlListener r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

Comment on attachment 9193498 [details] [diff] [review]
Linted patch

[Approval Request Comment]
Regression caused by (bug #): TransportErrorUrlListener
User impact if declined: End users see errors like JavaScript component does not have a method named: "OnStartRunningUrl" in certain situations (cert errors?)
Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky): Fixes broken code. Only adds a missing function. Very low risk.

Attachment #9193498 - Flags: approval-comm-esr78?

I'm OK with taking this, but you don't also want this on beta?

Flags: needinfo?(ben.bucksch)

Yes, good idea.

Flags: needinfo?(ben.bucksch)

Comment on attachment 9193498 [details] [diff] [review]
Linted patch

[Triage Comment]
Approved for beta

Attachment #9193498 - Flags: approval-comm-beta+

Comment on attachment 9193498 [details] [diff] [review]
Linted patch

[Triage Comment]
Approved for esr78

Attachment #9193498 - Flags: approval-comm-esr78? → approval-comm-esr78+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: