Bug 1658924: Implement HTTPS-First and automatically fall back to http if secure top-level connection is not available r=necko-reviewers,JulianWels,mattwoodrow,dragana
Differential Revision: https://phabricator.services.mozilla.com/D111686
This commit is contained in:
@@ -131,6 +131,10 @@ class nsDocShellLoadState final {
|
||||
|
||||
void SetForceAllowDataURI(bool aForceAllowDataURI);
|
||||
|
||||
bool IsExemptFromHTTPSOnlyMode() const;
|
||||
|
||||
void SetIsExemptFromHTTPSOnlyMode(bool aIsExemptFromHTTPSOnlyMode);
|
||||
|
||||
bool OriginalFrameSrc() const;
|
||||
|
||||
void SetOriginalFrameSrc(bool aOriginalFrameSrc);
|
||||
@@ -404,6 +408,10 @@ class nsDocShellLoadState final {
|
||||
// to a data URI will be allowed.
|
||||
bool mForceAllowDataURI;
|
||||
|
||||
// If this attribute is true, then the top-level navigaion
|
||||
// will be exempt from HTTPS-Only-Mode upgrades.
|
||||
bool mIsExemptFromHTTPSOnlyMode;
|
||||
|
||||
// If this attribute is true, this load corresponds to a frame
|
||||
// element loading its original src (or srcdoc) attribute.
|
||||
bool mOriginalFrameSrc;
|
||||
|
||||
Reference in New Issue
Block a user