summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/http/nsHttpChannel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/protocol/http/nsHttpChannel.cpp')
-rw-r--r--netwerk/protocol/http/nsHttpChannel.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/netwerk/protocol/http/nsHttpChannel.cpp b/netwerk/protocol/http/nsHttpChannel.cpp
index ac855b478..d7247eeab 100644
--- a/netwerk/protocol/http/nsHttpChannel.cpp
+++ b/netwerk/protocol/http/nsHttpChannel.cpp
@@ -3372,10 +3372,6 @@ nsHttpChannel::ContinueProcessFallback(nsresult rv)
}
NS_ENSURE_SUCCESS(rv, rv);
- if (mLoadFlags & LOAD_INITIAL_DOCUMENT_URI) {
- MaybeWarnAboutAppCache();
- }
-
// close down this channel
Cancel(NS_BINDING_REDIRECTED);
@@ -4261,10 +4257,6 @@ nsHttpChannel::OnOfflineCacheEntryAvailable(nsICacheEntry *aEntry,
mCacheEntry = aEntry;
mCacheEntryIsWriteOnly = false;
- if (mLoadFlags & LOAD_INITIAL_DOCUMENT_URI && !mApplicationCacheForWrite) {
- MaybeWarnAboutAppCache();
- }
-
return NS_OK;
}
@@ -8187,21 +8179,6 @@ nsHttpChannel::ResumeInternal()
}
void
-nsHttpChannel::MaybeWarnAboutAppCache()
-{
- // First, accumulate a telemetry ping about appcache usage.
- Telemetry::Accumulate(Telemetry::HTTP_OFFLINE_CACHE_DOCUMENT_LOAD,
- true);
-
- // Then, issue a deprecation warning.
- nsCOMPtr<nsIDeprecationWarner> warner;
- GetCallback(warner);
- if (warner) {
- warner->IssueWarning(nsIDocument::eAppCache, false);
- }
-}
-
-void
nsHttpChannel::SetDoNotTrack()
{
/**