Closed Bug 1885664 Opened 2 years ago Closed 2 years ago

PlacesQuery#getHistory() should fetch all history items by default

Categories

(Firefox :: Firefox View, task, P2)

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: jsudiaman, Assigned: nsharpley)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-firefox-view])

Attachments

(1 file)

The sixty-day default is Firefox View specific. In order to make this function more generic for other consumers, we should not specify a default value for daysOld. The default behavior should be fetching all history items, and we can set limits from the Firefox View side.

Severity: -- → S3
Priority: -- → P2
Whiteboard: [fidefe-firefox-view]

PlacesQuery#getHistory() now fetches all history items by default.
Firefox View is the only place where daysOld is set, to 60 in this case.

Assignee: nobody → nsharpley
Status: NEW → ASSIGNED
Attachment #9396682 - Attachment description: Bug 1885664 - PlacesQuery#getHistory() should fetch all history items by default r=#fxview-reviewers → Bug 1885664 - PlacesQuery#getHistory() should have the option to fetch infinite history r=#fxview-reviewers
Pushed by nsharpley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f9f5f5d96e05 PlacesQuery#getHistory() should have the option to fetch infinite history r=fxview-reviewers,places-reviewers,sclements
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: