Backed out 4 changesets (bug 1629866, bug 1570255) for assertion failures on DocumentChannelChild.cpp. CLOSED TREE

Backed out changeset 214e4a11be0d (bug 1570255)
Backed out changeset db066dda1bb8 (bug 1570255)
Backed out changeset d9f75d88613e (bug 1570255)
Backed out changeset fe2d4790b73a (bug 1629866)
This commit is contained in:
Csoregi Natalia
2020-05-13 18:30:42 +03:00
parent 3d578044ee
commit 7f57791502
50 changed files with 4598 additions and 1466 deletions

View File

@@ -64,7 +64,6 @@ namespace dom {
class ClientInfo;
class ClientSource;
class EventTarget;
class SessionHistoryInfo;
} // namespace dom
namespace net {
class LoadInfo;
@@ -663,10 +662,6 @@ class nsDocShell final : public nsDocLoader,
void SetHistoryEntryAndUpdateBC(const Maybe<nsISHEntry*>& aLSHE,
const Maybe<nsISHEntry*>& aOSHE);
mozilla::dom::ChildSHistory* GetSessionHistory() {
return mBrowsingContext->GetChildSessionHistory();
}
//
// URI Load
//
@@ -1133,11 +1128,6 @@ class nsDocShell final : public nsDocLoader,
// parent has loaded does. (This isn't the only purpose of mLSHE.)
nsCOMPtr<nsISHEntry> mLSHE;
// These are only set when fission.sessionHistoryInParent is set.
mozilla::UniquePtr<mozilla::dom::SessionHistoryInfo> mActiveEntry;
mozilla::UniquePtr<mozilla::dom::SessionHistoryInfo> mLoadingEntry;
uint64_t mLoadingEntryId;
// Holds a weak pointer to a RestorePresentationEvent object if any that
// holds a weak pointer back to us. We use this pointer to possibly revoke
// the event whenever necessary.