summaryrefslogtreecommitdiffstats
path: root/netwerk/cookie/nsCookieService.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-29 23:20:36 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-29 23:20:36 +0200
commit81b341a9b37acae2b60e0334a9b0846bc5be8445 (patch)
treeb998e480ac1971ea93101510438ba1e87d9db82a /netwerk/cookie/nsCookieService.cpp
parentddf29811b2d95bdf8385b9eb85519332b69344ca (diff)
downloadUXP-81b341a9b37acae2b60e0334a9b0846bc5be8445.tar
UXP-81b341a9b37acae2b60e0334a9b0846bc5be8445.tar.gz
UXP-81b341a9b37acae2b60e0334a9b0846bc5be8445.tar.lz
UXP-81b341a9b37acae2b60e0334a9b0846bc5be8445.tar.xz
UXP-81b341a9b37acae2b60e0334a9b0846bc5be8445.zip
Clean up a number of unused variables.
Tag #21.
Diffstat (limited to 'netwerk/cookie/nsCookieService.cpp')
-rw-r--r--netwerk/cookie/nsCookieService.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/netwerk/cookie/nsCookieService.cpp b/netwerk/cookie/nsCookieService.cpp
index ea54dbd61..7bc5abcd1 100644
--- a/netwerk/cookie/nsCookieService.cpp
+++ b/netwerk/cookie/nsCookieService.cpp
@@ -3311,13 +3311,6 @@ nsCookieService::SetCookieInternal(nsIURI *aHostURI,
// so we can handle them separately.
bool newCookie = ParseAttributes(aCookieHeader, cookieAttributes);
- // Collect telemetry on how often secure cookies are set from non-secure
- // origins, and vice-versa.
- //
- // 0 = nonsecure and "http:"
- // 1 = nonsecure and "https:"
- // 2 = secure and "http:"
- // 3 = secure and "https:"
bool isHTTPS;
nsresult rv = aHostURI->SchemeIs("https", &isHTTPS);