зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1626404: Part 2b - Serialize source BC with LoadState. r=nika CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D69419 --HG-- extra : source : 2ffdab0072e7dbc56d232537aafbd2c1aa80ef14 extra : intermediate-source : ec63b18da4b9c1eb280f77a800e0e987aa3f20fa
This commit is contained in:
Родитель
9742588080
Коммит
ca908cb413
|
@ -71,6 +71,7 @@ nsDocShellLoadState::nsDocShellLoadState(
|
|||
mReferrerInfo = aLoadState.ReferrerInfo();
|
||||
mURI = aLoadState.URI();
|
||||
mOriginalURI = aLoadState.OriginalURI();
|
||||
mSourceBrowsingContext = aLoadState.SourceBrowsingContext();
|
||||
mBaseURI = aLoadState.BaseURI();
|
||||
mTriggeringPrincipal = aLoadState.TriggeringPrincipal();
|
||||
mPrincipalToInherit = aLoadState.PrincipalToInherit();
|
||||
|
@ -667,6 +668,7 @@ DocShellLoadStateInit nsDocShellLoadState::Serialize() {
|
|||
mIsFromProcessingFrameAttributes;
|
||||
loadState.URI() = mURI;
|
||||
loadState.OriginalURI() = mOriginalURI;
|
||||
loadState.SourceBrowsingContext() = mSourceBrowsingContext;
|
||||
loadState.BaseURI() = mBaseURI;
|
||||
loadState.TriggeringPrincipal() = mTriggeringPrincipal;
|
||||
loadState.PrincipalToInherit() = mPrincipalToInherit;
|
||||
|
|
|
@ -266,6 +266,8 @@ struct DocShellLoadStateInit
|
|||
// encounters a server side redirect.
|
||||
nsIContentSecurityPolicy Csp;
|
||||
|
||||
MaybeDiscardedBrowsingContext SourceBrowsingContext;
|
||||
|
||||
nsCString? OriginalURIString;
|
||||
int32_t? CancelContentJSEpoch;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче