summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorGaming4JC <g4jc@bulletmail.org>2018-05-26 15:00:01 -0400
committerGaming4JC <g4jc@bulletmail.org>2018-05-26 15:42:45 -0400
commitbd851735628cd6b07285e87fa60081e9d11a3b7e (patch)
treec4a2831c9188f2d68e57c3b379bf86e7ff54cf93 /image
parent8f354e52d09d1bf2fadfbbfc141d4f32241599a4 (diff)
downloaduxp-bd851735628cd6b07285e87fa60081e9d11a3b7e.tar.gz
Remove support and tests for HSTS priming from the tree. Fixes #384
Diffstat (limited to 'image')
-rw-r--r--image/imgLoader.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/image/imgLoader.cpp b/image/imgLoader.cpp
index 5e5ee78296..f7fb657bd1 100644
--- a/image/imgLoader.cpp
+++ b/image/imgLoader.cpp
@@ -607,19 +607,6 @@ ShouldLoadCachedImage(imgRequest* aImgRequest,
}
}
- bool sendPriming = false;
- bool mixedContentWouldBlock = false;
- rv = nsMixedContentBlocker::GetHSTSPrimingFromRequestingContext(contentLocation,
- aLoadingContext, &sendPriming, &mixedContentWouldBlock);
- if (NS_FAILED(rv)) {
- return false;
- }
- if (sendPriming && mixedContentWouldBlock) {
- // if either of the securty checks above would cause a priming request, we
- // can't load this image from the cache, so go ahead and return false here
- return false;
- }
-
return true;
}