Open Bug 1449062 Opened 6 years ago Updated 2 years ago

Avoid requesting thumbnails if a rich icon might be found

Categories

(Firefox :: New Tab Page, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox60 --- wontfix
firefox61 --- affected

People

(Reporter: Mardak, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

While investigating the current state of bug 1401817, I noticed that when favicons and thumbnails are both missing, we end up requesting a thumbnail even though almost immediately we insert a rich icon from the remote tippy top list.

This is because we immediately fire off a screenshot request when processing the top sites.

Not sure if the fix should just directly ask FaviconFeed as that could slow down the fast path of getting top site data to content. But if the thumbnail request is delayed as given that it's async anyway, it could choose not to actually thumbnail.

Or alternatively, instead of initiating thumbnail requests when refreshing top sites, the thumbnail requests happen at some later time?
See Also: → 1401817
Iteration: --- → 61.4 - May 7
Priority: -- → P2
Severity: normal → enhancement
r1cky, can you grab this one? Although I'm not entirely sure what the approach should be. Maybe defer trying screenshots until FaviconFeed is ready? Although right now, nothing is directly accessing FaviconFeed and only via actions -- maybe it could continue to be indirect communication via the store / initialized state of favicons?
Flags: needinfo?(rrosario)
I'll take a look
Assignee: nobody → rrosario
Flags: needinfo?(rrosario)
Iteration: 61.4 - May 7 → 62.1 - May 21
Iteration: 62.1 - May 21 → ---
Priority: P2 → P3
Component: Activity Streams: Newtab → New Tab Page
Assignee: rickyrosario+bugzilla → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: