Closed Bug 1186134 Opened 9 years ago Closed 5 years ago

Make the NewTab Page display manifest icons if available

Categories

(Firefox :: New Tab Page, defect)

40 Branch
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: oyiptong, Unassigned)

References

(Depends on 1 open bug)

Details

This bug is to track the integration of webmanifest in the newtab page.

That includes changes in sites.js's captureIfMissing: https://dxr.mozilla.org/mozilla-central/source/browser/base/content/newtab/sites.js#218

And NewTabUtils.jsm's PlacesProvider.getLinks function to add additional metadata, e.g. bg-color: https://dxr.mozilla.org/mozilla-central/source/toolkit/modules/NewTabUtils.jsm#645
bg-color may actually not be necessary if we render the tile in a canvas and cache in PageThumbs
(In reply to Olivier Yiptong [:oyiptong] from comment #1)
> bg-color may actually not be necessary if we render the tile in a canvas and
> cache in PageThumbs

Can you provide a bit more detail about what you are thinking here about not needing the bg-color? The problem I'm running into is that most people make icons either square or circular (transparent), but the tiles are rectangles.
I was thinking we might not need to inject the bg-color in NewTabUtil's PlacesProvider if we render an image.

The bg-color property will still be needed for rendering the image.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.