fune/docshell
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 1885893 - Only collect HTTPS-First telemetry on successful request a=pascalc 2024-06-18 11:01:00 +00:00
build Bug 1882422: Use a local testing page to return complex data and make use of it in C++-land r=peterv 2024-04-03 23:43:17 +00:00
shistory Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
test Bug 1880914 - Move BrowserForceEncodingDetection. r=Gijs 2024-04-15 10:22:45 +00:00
moz.build Bug 1859890 - batch 14 convert xpcshell.ini -> .toml. r=aryx,dom-storage-reviewers,jesup 2023-11-28 01:02:01 +00:00