Closed Bug 1619170 Opened 5 years ago Closed 5 years ago

LinkHandlerChild has a useless "dispatcher" constructor argument

Categories

(Firefox :: General, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Firefox 75
Tracking Status
firefox-esr68 --- unaffected
firefox73 --- wontfix
firefox74 --- wontfix
firefox75 --- fixed

People

(Reporter: bzbarsky, Assigned: Gijs)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

All it does with it is pass it to super(), but JSWindowActorChild does not take any constructor arguments.

Possible regression from bug 1592157? Before that it looks like the superclass was ActorChild, which actually does expect a dispatcher.

While it's true that LinkHandlerChild also handles favicons, it doesn't have an official component, it should likely stay in General, I'm not sure why bug 1592157 ended up here...

Component: Bookmarks & History → General
Assignee: nobody → gijskruitbosch+bugs
Priority: -- → P3
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/3b078e7da213 remove useless argument to LinkHandlerChild constructor, r=rpl
See Also: → 1619630

(In reply to Neil Deakin from comment #2)

There are several other actors like this as well:

https://searchfox.org/mozilla-central/search?q=super(dispatcher)&case=false&regexp=false&path=

Dealing with this in bug 1619630.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 75
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: