Closed Bug 1834585 Opened 2 years ago Closed 1 year ago

PlacesQuery#getHistory() should provide a default title if not given one by the database

Categories

(Toolkit :: Places, task, P3)

task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jsudiaman, Unassigned)

References

Details

(Whiteboard: [fidefe-firefox-view])

https://searchfox.org/mozilla-central/source/toolkit/components/places/PlacesQuery.sys.mjs

Under certain scenarios, such as loading a website via slow connection and then exiting out before it fully loads, we could have a history visit without a title. In this case, existing surfaces such as the Library and Sidebar default to showing the domain name in place of a title. The new History API should do something similar with the title property in order to avoid having blank spots in Firefox View where a page title should be.

Whiteboard: [fidefe-firefox-view]
Component: Firefox View → Places
Product: Firefox → Toolkit
Severity: -- → S3
Priority: -- → P3

This seems too opinionated. PlacesQuery should provide values returned by the db, and allow consumers to decide what to do with it.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.