Bug 1649131 - Implement history.pushState/.replaceState for session history in the parent. r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D87039
This commit is contained in:
Peter Van der Beken
2020-08-23 17:41:03 +00:00
parent 90788d6b37
commit bcaca89c59
14 changed files with 642 additions and 181 deletions

View File

@@ -281,7 +281,8 @@ class nsDocShellLoadState final {
mozilla::dom::DocShellLoadStateInit Serialize();
void SetLoadIsFromSessionHistory(int32_t aRequestedIndex,
int32_t aSessionHistoryLength);
int32_t aSessionHistoryLength,
bool aLoadingFromActiveEntry);
void ClearLoadIsFromSessionHistory();
protected: