Bug 1843239, [Cached] Location.hash, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D183788
This commit is contained in:
@@ -1160,7 +1160,10 @@ class nsDocShell final : public nsDocLoader,
|
||||
const nsAString& aTitle, bool aReplace,
|
||||
nsIURI* aCurrentURI, bool aEqualURIs);
|
||||
|
||||
private: // data members
|
||||
private:
|
||||
void SetCurrentURIInternal(nsIURI* aURI);
|
||||
|
||||
// data members
|
||||
nsString mTitle;
|
||||
nsCString mOriginalUriString;
|
||||
nsTObserverArray<nsWeakPtr> mPrivacyObservers;
|
||||
@@ -1205,6 +1208,7 @@ class nsDocShell final : public nsDocLoader,
|
||||
mozilla::UniquePtr<mozilla::ObservedDocShell> mObserved;
|
||||
|
||||
// mCurrentURI should be marked immutable on set if possible.
|
||||
// Change mCurrentURI only through SetCurrentURIInternal method.
|
||||
nsCOMPtr<nsIURI> mCurrentURI;
|
||||
nsCOMPtr<nsIReferrerInfo> mReferrerInfo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user