Backed out changeset f51b921e1ccf (bug 1233098) for browser-chrome bustage
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user