gecko-dev/dom/security
Kate McKinley 37a7ace256 Bug 1359987 - Update HSTS priming telemetry r=ckerschb,francois,mayhemer p=francois
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
2017-05-09 15:36:07 -07:00
..
test Bug 1359987 - Update HSTS priming telemetry r=ckerschb,francois,mayhemer p=francois 2017-05-09 15:36:07 -07:00
ContentVerifier.cpp Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj. 2016-08-12 17:36:22 +10:00
ContentVerifier.h Backed out changeset 21d8bb5af7b4 (bug 1263793) for leaks in various jobs CLOSED TREE 2016-07-20 11:16:37 -07:00
SRICheck.cpp Bug 1364262 - Convert SRI metadata to ASCII before parsing it. r=ckerschb 2017-05-16 17:33:22 -07:00
SRICheck.h Bug 1288104 part 2 - Instrument SRICheckDataVerifier to load/save the computed hash from the bytecode cache. r=francois 2016-10-20 09:44:33 +00:00
SRILogHelper.h Bug 1268851 - Add SRILogHelper to hold GetSriLog r=baku 2016-05-03 17:43:33 -07:00
SRIMetadata.cpp Bug 1060419 - make log_print use Printf.h, r=froydnj 2016-12-15 20:16:31 -07:00
SRIMetadata.h Bug 1187335 - P6 - Support script/css to set integrity metadata to serviceWorker. r=bkelly. r=francois. 2016-09-07 10:30:21 +08:00
moz.build Bug 1334242 - add BUG_COMPONENT to dom/security/* files. r=ckerschb 2017-01-27 08:18:50 -05:00
nsCSPContext.cpp Bug 1024557 - Ignore x-frame-options if CSP with frame-ancestors exists. r=smaug 2017-06-07 21:17:49 +02:00
nsCSPContext.h Bug 1339004 - Do DocGroup labeling in dom/security. r=ckerschb,smaug 2017-03-29 10:20:32 +08:00
nsCSPParser.cpp Bug 1367531: CSP should only check host (not including path) when performing frame ancestors checks. r=dveditz 2017-06-06 09:12:13 +02:00
nsCSPParser.h Bug 1367531: CSP should only check host (not including path) when performing frame ancestors checks. r=dveditz 2017-06-06 09:12:13 +02:00
nsCSPService.cpp Bug 1343933 - Renaming Principal classes - part 4 - ContentPrincipal, r=qdot 2017-03-22 11:39:31 +01:00
nsCSPService.h
nsCSPUtils.cpp Bug 1367531: CSP should only check host (not including path) when performing frame ancestors checks. r=dveditz 2017-06-06 09:12:13 +02:00
nsCSPUtils.h Bug 1367531: CSP should only check host (not including path) when performing frame ancestors checks. r=dveditz 2017-06-06 09:12:13 +02:00
nsContentSecurityManager.cpp Bug 1359204 - Do not query nested URI within CheckChannel in ContentSecurityManager. r=smaug 2017-05-10 18:40:57 +02:00
nsContentSecurityManager.h
nsMixedContentBlocker.cpp Bug 1359987 - Update HSTS priming telemetry r=ckerschb,francois,mayhemer p=francois 2017-05-09 15:36:07 -07:00
nsMixedContentBlocker.h Bug 903966 - Stop blocking 'http://127.0.0.1/' as mixed content. r=ckerschb,kmckinley 2017-05-10 20:50:00 +03:00