Bug 1663488 - Fix CanonicalBrowsingContext::NotifyOnHistoryReload. r=smaug
Depends on D89421 Differential Revision: https://phabricator.services.mozilla.com/D89422
This commit is contained in:
@@ -26,6 +26,8 @@ class nsIChannel;
|
||||
class nsIReferrerInfo;
|
||||
class OriginAttibutes;
|
||||
namespace mozilla {
|
||||
template <typename, class>
|
||||
class UniquePtr;
|
||||
namespace dom {
|
||||
class DocShellLoadStateInit;
|
||||
} // namespace dom
|
||||
@@ -141,9 +143,14 @@ class nsDocShellLoadState final {
|
||||
const mozilla::dom::LoadingSessionHistoryInfo* GetLoadingSessionHistoryInfo()
|
||||
const;
|
||||
|
||||
// Copies aLoadingInfo and stores the copy in this nsDocShellLoadState.
|
||||
void SetLoadingSessionHistoryInfo(
|
||||
const mozilla::dom::LoadingSessionHistoryInfo& aLoadingInfo);
|
||||
|
||||
// Stores aLoadingInfo in this nsDocShellLoadState.
|
||||
void SetLoadingSessionHistoryInfo(
|
||||
mozilla::UniquePtr<mozilla::dom::LoadingSessionHistoryInfo> aLoadingInfo);
|
||||
|
||||
bool LoadIsFromSessionHistory() const;
|
||||
|
||||
const nsString& Target() const;
|
||||
|
||||
Reference in New Issue
Block a user