Tab history lost on restart


#1

Description of the issue: When brave restarts due to an update or by manually restarting, the browsing history of each tab is lost. This is especially problematic if the current page of that tab fails to load and you get about:error instead. In that case there is no evidence of what was in that tab at all.

Steps to Reproduce (add as many as necessary):

  1. Open a tab and browse from page to page so that the tab has some browsing history.
  2. Optionally browse to a page served by a local http server, then shut down that server so the page can’t reload.
  3. Restart Brave.

    Actual Result (gifs and screenshots are welcome!):
    The back/forward buttons for each tab have no history and are thus disabled. Additionally, if the page fails to load all you get is about:error and there is no way to get the old page to load via refresh or the back button. You have to manually browse back to that page (assuming you remember what page it was).

Expected result:
Remember history of each tab and if about:error loads, that should be added to the history stack so you can click back to try that page again.

Reproduces how often:
Every time.

Brave Version(about:brave):
0.23.31

Reproducible on current live release (yes/no):
yes

Additional Information: