Bug 1647229 - Synchronize layouthistorystate to parent process, r=peterv

Differential Revision: https://phabricator.services.mozilla.com/D81753
This commit is contained in:
Olli Pettay
2020-07-23 19:35:29 +00:00
parent 44dd336269
commit c0a4310e33
9 changed files with 121 additions and 24 deletions

View File

@@ -1694,7 +1694,8 @@ nsDocumentViewer::Destroy() {
// and shEntry has no window state at this point we'll be ok; we just won't
// cache ourselves.
shEntry->SyncPresentationState();
shEntry->SynchronizeLayoutHistoryState();
// XXX Synchronize layout history state to parent once bfcache is supported
// in session-history-in-parent.
// Shut down accessibility for the document before we start to tear it down.
#ifdef ACCESSIBILITY