Backed out changeset f51b921e1ccf (bug 1233098) for browser-chrome bustage

This commit is contained in:
Nigel Babu
2016-01-14 08:04:37 +05:30
parent 4740c6aa49
commit 282b0d0ae0
14 changed files with 55 additions and 35 deletions

View File

@@ -1746,7 +1746,7 @@ HTMLFormElement::GetActionURL(nsIURI** aActionURL,
bool isHttpScheme = false;
rv = actionURL->SchemeIs("http", &isHttpScheme);
NS_ENSURE_SUCCESS(rv, rv);
if (isHttpScheme && document->GetUpgradeInsecureRequests(false)) {
if (isHttpScheme && document->GetUpgradeInsecureRequests()) {
// let's use the old specification before the upgrade for logging
nsAutoCString spec;
rv = actionURL->GetSpec(spec);