Merge inbound to m-c a=merge CLOSED TREE

MozReview-Commit-ID: 3pMHYV9oXLm
This commit is contained in:
Wes Kocher
2017-09-27 16:51:49 -07:00
175 changed files with 1752 additions and 32962 deletions

View File

@@ -10983,7 +10983,7 @@ IsConsideredSameOriginForUIR(nsIPrincipal* aTriggeringPrincipal,
rv = resultURI->GetSpec(tmpResultSpec);
NS_ENSURE_SUCCESS(rv, false);
// replace http with https
tmpResultSpec.Replace(0, 4, "https");
tmpResultSpec.ReplaceLiteral(0, 4, "https");
nsCOMPtr<nsIURI> tmpResultURI;
rv = NS_NewURI(getter_AddRefs(tmpResultURI), tmpResultSpec);