Closed Bug 1583265 Opened 4 years ago Closed 4 years ago

Add an API to clear GeckoSession history

Categories

(GeckoView :: General, enhancement, P2)

Unspecified
All
enhancement

Tracking

(firefox70 wontfix, firefox71 fixed)

RESOLVED FIXED
mozilla71
Tracking Status
firefox70 --- wontfix
firefox71 --- fixed

People

(Reporter: rbarker, Assigned: rbarker)

Details

Attachments

(1 file)

Currently in GeckoView, when an embedding application clears history, there is no way to clear a GeckoSession's internal history as well. So that goBack() and goFoward() functions will still traverse the sessions local history. When an application clears it's history, it should also be able to clear the history in the session.

Assignee: nobody → rbarker
Pushed by rbarker@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/da2361310c67
Add GeckoSession.purgeHistory() r=geckoview-reviewers,snorp,droeh
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.