mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 14:28:39 +09:00
Remove support and tests for HSTS priming from the tree. Fixes #384
This commit is contained in:
parent
96a0af1be8
commit
d4ac94cf3e
56 changed files with 26 additions and 1812 deletions
|
|
@ -733,8 +733,6 @@ HttpChannelParent::RecvRedirect2Verify(const nsresult& result,
|
|||
const uint32_t& loadFlags,
|
||||
const OptionalURIParams& aAPIRedirectURI,
|
||||
const OptionalCorsPreflightArgs& aCorsPreflightArgs,
|
||||
const bool& aForceHSTSPriming,
|
||||
const bool& aMixedContentWouldBlock,
|
||||
const bool& aChooseAppcache)
|
||||
{
|
||||
LOG(("HttpChannelParent::RecvRedirect2Verify [this=%p result=%x]\n",
|
||||
|
|
@ -774,14 +772,6 @@ HttpChannelParent::RecvRedirect2Verify(const nsresult& result,
|
|||
newInternalChannel->SetCorsPreflightParameters(args.unsafeHeaders());
|
||||
}
|
||||
|
||||
if (aForceHSTSPriming) {
|
||||
nsCOMPtr<nsILoadInfo> newLoadInfo;
|
||||
rv = newHttpChannel->GetLoadInfo(getter_AddRefs(newLoadInfo));
|
||||
if (NS_SUCCEEDED(rv) && newLoadInfo) {
|
||||
newLoadInfo->SetHSTSPriming(aMixedContentWouldBlock);
|
||||
}
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIApplicationCacheChannel> appCacheChannel =
|
||||
do_QueryInterface(newHttpChannel);
|
||||
if (appCacheChannel) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue