Closed Bug 1721272 Opened 3 years ago Closed 3 years ago

Extension tabs ignore icons set by link tags

Categories

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

Thunderbird 91
defect

Tracking

(thunderbird91 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
thunderbird91 --- fixed

People

(Reporter: TbSync, Assigned: darktrojan)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

This is another fission bug. After it had been enabled, tabs from WebExtensions no longer show icons defined in link tags in their html source.

Assignee: nobody → geoff
Status: NEW → ASSIGNED

Firefox also has an actor named LinkHandler, and we're about to start using it. This patch renames our actor to avoid the naming clash.

The LinkHandler actor deals with page icons from remote processes. With this patch we'll use Firefox's child process actor and our own copy of the parent process actor, which is cut down and modified to do only what we need.

Depends on D120460

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/d33c2830917d
Rename LinkHandler actor to LinkClickHandler. r=john.bieling
https://hg.mozilla.org/comm-central/rev/1c987c2918f3
Use LinkHandler actor from Firefox. r=john.bieling

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch

I misunderstood why useDefaultIcon was being called despite an icon existing, and then I forgot to run the test I knew was most likely to fail.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/1915aa19f592
follow-up - Prevent tab icons being replaced by the default. r=john.bieling

Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED

Comment on attachment 9232342 [details]
Bug 1721272 - Rename LinkHandler actor to LinkClickHandler. r=john.bieling

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined:
No favicon displayed in tabs for WebExtension pages.

Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky):
Low

Attachment #9232342 - Flags: approval-comm-beta?

Comment on attachment 9232343 [details]
Bug 1721272 - Use LinkHandler actor from Firefox. r=john.bieling

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined:
No favicon displayed in tabs for WebExtension pages.

Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky):
Low

Attachment #9232343 - Flags: approval-comm-beta?

Comment on attachment 9232621 [details]
Bug 1721272 follow-up - Prevent tab icons being replaced by the default. r=john.bieling

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined:
No favicon displayed in tabs for WebExtension pages.

Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky):
Low

Attachment #9232621 - Flags: approval-comm-beta?

Comment on attachment 9232342 [details]
Bug 1721272 - Rename LinkHandler actor to LinkClickHandler. r=john.bieling

[Triage Comment]
Approved for beta

Attachment #9232342 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9232343 [details]
Bug 1721272 - Use LinkHandler actor from Firefox. r=john.bieling

[Triage Comment]
Approved for beta

Attachment #9232343 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9232621 [details]
Bug 1721272 follow-up - Prevent tab icons being replaced by the default. r=john.bieling

[Triage Comment]
Approved for beta

Attachment #9232621 - Flags: approval-comm-beta? → approval-comm-beta+

This, I believe, has regressed tab icon behavior for folder and message tab types. It manifests most clearly for feeds: the folderpane favicon and tab favicon are taken from the feed folder url and should be identical regardless of message selected - this is true even if a feed web page with a different favicon is loaded into messagepane browser. In beta, loading a web page changes the 3pane tab favicon. Can be seen with a feed like https://planet.mozilla.org/atom.xml.

For a message in a tab, however, the tab favicon is derived from the web page.

Keywords: regression

Okay, I can see that. Please file a separate bug.

Regressions: 1723562
Regressions: 1724753
No longer regressions: 1723562
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: