mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
37a7ace256
Collect telemetry for all requests to get an exact percentage of requests that are subject to HSTS priming, and how many result in an HSTS Priming request being sent. Clean up telemetry to remove instances of double counting requests if a priming request was sent. HSTSPrimingListener::ReportTiming was using mCallback to calculate timing telemetry, but we were calling swap() on the nsCOMPtr. Give it an explicit argument for the callback. Add tests for telemetry values to all of the HSTS priming tests. This tests for the minimum as telemetry may be gathered on background or other requests. MozReview-Commit-ID: 5V2Nf0Ugc3r --HG-- extra : rebase_source : daa357219a77d912a78b95a703430f39d884c6ab |
||
---|---|---|
.. | ||
test | ||
ContentVerifier.cpp | ||
ContentVerifier.h | ||
moz.build | ||
nsContentSecurityManager.cpp | ||
nsContentSecurityManager.h | ||
nsCSPContext.cpp | ||
nsCSPContext.h | ||
nsCSPParser.cpp | ||
nsCSPParser.h | ||
nsCSPService.cpp | ||
nsCSPService.h | ||
nsCSPUtils.cpp | ||
nsCSPUtils.h | ||
nsMixedContentBlocker.cpp | ||
nsMixedContentBlocker.h | ||
SRICheck.cpp | ||
SRICheck.h | ||
SRILogHelper.h | ||
SRIMetadata.cpp | ||
SRIMetadata.h |