Closed Bug 1288054 Opened 8 years ago Closed 4 years ago

Consolidate favicon loading in a single module

Categories

(Firefox :: Tabbed Browser, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1453751
Tracking Status
firefox50 --- affected

People

(Reporter: Gijs, Unassigned)

Details

We currently have 3 places (that I know of) that need favicons for tabs/pages:

1) browser tabs
2) places (history/bookmarks)
3) windows per-tab previews


All of this code is a bit messy, because right now (3) depends on (2) and doesn't work for private windows (because the places code doesn't store favicons in its DB for private windows, for all the obvious privacy reasons), (1) does manual security checks and then loads the image directly from chrome code (ew), and (1) and (2) make independent requests, leading to duplicate requests in some cases.

I'd like us to consolidate the fetching code in a JS module, perhaps even on the content process side to make requests as part of the load group of the content window, and to hand out blob URIs to consumers that want the image data. This would also make it easier to do something sensible for image documents which currently have other "interesting" bugs (cf. bug 583351).
Blocks: 333811
Priority: -- → P2
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3

2 years too late, finally found the bug I filed about this. Pretty sure this got fixed in bug 1453751, though it's possible places still does its own fetch.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
No longer blocks: 333811
You need to log in before you can comment on or make changes to this bug.