fune/netwerk
Malte Juergens 11155f5b7f Bug 1885893 - Only collect HTTPS-First telemetry on successful request a=pascalc
This patch addresses the problem that we currently collect HTTPS-First telemetry
for sites that are not reachable at all, be it through always causing a error or
through always timing out.

- On a downgrade, do not collect telemetry instantly, but instead save the
  telemetry data in the load state for the downgraded request
- That telemetry data will then be copied over into the document load listener
  of the new request
- On a successful request, if we have downgrade data in the load listener, we
  collect the downgrade telemetry, as the downgrade seems to have been
  successful
- Similar to the downgrade case, we only count the upgrade metric once we
  encounter a successful request annotated with the information that it was
  upgraded by HTTPS-First, instead of counting it instantly on the decision to
  upgrade. This also means the upgrade metric will not include loads that are
  downgraded again anymore
- Add a testcase for a site which is neither reachable via HTTP nor HTTPS, and
  ensure no telemetry is collected

Original Revision: https://phabricator.services.mozilla.com/D210792

Differential Revision: https://phabricator.services.mozilla.com/D211999
2024-06-18 11:01:00 +00:00
..
base Bug 1895226 - Make sure network connectivity service is properly initialized r=necko-reviewers,kershaw 2024-05-08 07:49:32 +00:00
build Bug 1891610 - added zstd support to devtools. r=jesup,bomsy,necko-reviewers,devtools-reviewers 2024-04-30 04:50:01 +00:00
cache2 Bug 1893683 - Remove ns{A,C}String and other xpcom dependencies from nsStringBuffer. r=smaug,media-playback-reviewers,karlt 2024-05-09 08:34:35 +00:00
cookie Bug 1901325 - Backed out changeset 11097fcc4f76 a=pascalc 2024-06-17 10:24:45 +00:00
dns No Bug, mozilla-beta repo-update HSTS HPKP remote-settings tld-suffixes mobile-experiments - a=RyanVM 2024-06-03 15:20:23 +00:00
docs Bug 1884623 - Update more jsm references in production code and docs in misc code. r=mossop,necko-reviewers,profiler-reviewers,julienw,kershaw 2024-03-14 17:42:28 +00:00
ipc Bug 1885893 - Only collect HTTPS-First telemetry on successful request a=pascalc 2024-06-18 11:01:00 +00:00
locales Bug 1892748 Part 1 - Reject control characters in cookie attributes. r=dveditz,cookie-reviewers 2024-04-30 00:47:11 +00:00
mime Bug 1871963: Implement zstd content-encoding support r=necko-reviewers,valentin,devtools-reviewers 2024-04-09 15:26:46 +00:00
protocol Bug 1884349 - Make sure the pending connections will be closed, a=pascalc 2024-05-30 07:47:57 +00:00
sctp Bug 1863224 - Apply mozilla patches for sctp r=ng 2024-04-03 15:33:26 +00:00
socket Bug 1895258 - neqo 0.7.7, r=necko-reviewers,supply-chain-reviewers,jesup 2024-05-07 19:00:44 +00:00
streamconv Bug 1871963: Implement zstd content-encoding support r=necko-reviewers,valentin,devtools-reviewers 2024-04-09 15:26:46 +00:00
system Bug 1893683 - Remove ns{A,C}String and other xpcom dependencies from nsStringBuffer. r=smaug,media-playback-reviewers,karlt 2024-05-09 08:34:35 +00:00
test Bug 1884349 - Make sure the pending connections will be closed, a=pascalc 2024-05-30 07:47:57 +00:00
url-classifier
wifi Bug 1891332 - Replace debug MOZ_ASSERT with MOZ_RELEASE_ASSERT in netwerk tests. r=necko-reviewers,kershaw,valentin 2024-04-17 03:26:30 +00:00
metrics.yaml Bug 1892158 - Extended cookie count metrics until version 134 r=kershaw,necko-reviewers 2024-05-03 12:37:21 +00:00
moz.build