If the back button is used to navigate a tab backwards in its history, and then the tab is closed, the current implementation of sessions.getRecentlyClosed does not take this into account and just uses the last item in the tab history for the values returned for the tab. This patch fixes this by using the values for the current position of the tab in its history. MozReview-Commit-ID: LcgtA5FqVWi
26 KiB
26 KiB