Bug 1812192 - Store schemeless address bar loads in loadinfo and upgrade to https with fallback r=necko-reviewers,webidl,smaug,freddyb,kershaw
Depends on D179794 Differential Revision: https://phabricator.services.mozilla.com/D179795
This commit is contained in:
@@ -6047,7 +6047,8 @@ already_AddRefed<nsIURI> nsDocShell::AttemptURIFixup(
|
||||
nsIChannel* aChannel, nsresult aStatus,
|
||||
const mozilla::Maybe<nsCString>& aOriginalURIString, uint32_t aLoadType,
|
||||
bool aIsTopFrame, bool aAllowKeywordFixup, bool aUsePrivateBrowsing,
|
||||
bool aNotifyKeywordSearchLoading, nsIInputStream** aNewPostData) {
|
||||
bool aNotifyKeywordSearchLoading, nsIInputStream** aNewPostData,
|
||||
bool* outWasSchemelessInput) {
|
||||
if (aStatus != NS_ERROR_UNKNOWN_HOST && aStatus != NS_ERROR_NET_RESET &&
|
||||
aStatus != NS_ERROR_CONNECTION_REFUSED &&
|
||||
aStatus !=
|
||||
@@ -6141,6 +6142,7 @@ already_AddRefed<nsIURI> nsDocShell::AttemptURIFixup(
|
||||
}
|
||||
if (info) {
|
||||
info->GetPreferredURI(getter_AddRefs(newURI));
|
||||
info->GetWasSchemelessInput(outWasSchemelessInput);
|
||||
if (newURI) {
|
||||
info->GetKeywordAsSent(keywordAsSent);
|
||||
info->GetKeywordProviderName(keywordProviderName);
|
||||
|
||||
Reference in New Issue
Block a user