Closed
Bug 1664001
Opened 4 years ago
Closed 28 days ago
Use a "best we have" favicon choice for page-icon urls without a path
Categories
(Toolkit :: Places, defect, P3)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
133 Branch
People
(Reporter: Gijs, Assigned: yazan)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [sng][favicons-2024])
User Story
When page-icon requests a favicon for a host (no path), and we have no root icon available, we should do a fuzzier matching, where we'll pick icon from pages in that host, sorting them by frecency. We must first of all ensure the root icon case works and is covered by tests already. We should also file a follow-up bug to evaluate what to do for uris with paths not having an icon (should we use icon of another page under the same domain? what if that domain serves multiple services? Maybe we can exclude anything from subdomains or with querystrings?)
Attachments
(1 file)
page-icon:https://foo.com/
will show an icon if the specific URL https://foo.com/
has been visited and we stored an icon, but not if e.g. https://foo.com/newsite/index.html
has been visited.
For various usecases in the browser, it'd be useful if we could specify that we should use and/or fall back on other icons for the same site if one for the specific URL is not available.
Updated•4 years ago
|
Severity: -- → S3
Priority: -- → P2
Comment 1•7 months ago
|
||
For various bugs and features, we need a way to extract "best you can do" favicon for origins, so this bug will cover that need.
Whiteboard: [sng]
Updated•7 months ago
|
Priority: P2 → P3
Updated•7 months ago
|
Comment 2•7 months ago
•
|
||
Rather than using a #ref, we can probably start from checking if the url has no path, then use a more lenient picking algorithm that will return "best we have" icon for the origin. We can use frecency.
Summary: Add a #ref parameter to `page-icon` URLs to be able to request "any [stored] icon from example.com" → Use a "best we have" favicon choice for page-icon urls without a path
Updated•5 months ago
|
Whiteboard: [sng] → [sng][favicons-2024]
Updated•4 months ago
|
Points: --- → 3
User Story: (updated)
Assignee | ||
Updated•1 month ago
|
Assignee: nobody → yalmacki
Assignee | ||
Comment 3•1 month ago
|
||
Pushed by yalmacki@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b4c21fa3fda6
Fetch the icon of the subpage with the highest frecency if icon requested for a host and no root icon is available. r=places-reviewers,daisuke
Status: NEW → RESOLVED
Closed: 28 days ago
status-firefox133:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
Updated•27 days ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•