Backout e123e0173185, 326ed6f1dc9e & 7c2c9c988869 (bug 722979) for mochitest-a11y failures
This commit is contained in:
@@ -114,7 +114,6 @@
|
||||
#include "nsIObserver.h"
|
||||
#include "nsINestedURI.h"
|
||||
#include "nsITransportSecurityInfo.h"
|
||||
#include "nsISSLSocketControl.h"
|
||||
#include "nsINSSErrorsService.h"
|
||||
#include "nsIApplicationCache.h"
|
||||
#include "nsIApplicationCacheChannel.h"
|
||||
@@ -4175,14 +4174,9 @@ nsDocShell::DisplayLoadError(nsresult aError, nsIURI *aURI,
|
||||
nsCOMPtr<nsIStrictTransportSecurityService> stss =
|
||||
do_GetService(NS_STSSERVICE_CONTRACTID, &rv);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
uint32_t flags = 0;
|
||||
nsCOMPtr<nsISSLSocketControl> socketControl = do_QueryInterface(tsi);
|
||||
if (socketControl) {
|
||||
socketControl->GetProviderFlags(&flags);
|
||||
}
|
||||
|
||||
|
||||
bool isStsHost = false;
|
||||
rv = stss->IsStsURI(aURI, flags, &isStsHost);
|
||||
rv = stss->IsStsURI(aURI, &isStsHost);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
uint32_t bucketId;
|
||||
|
||||
Reference in New Issue
Block a user