Name Description Size Coverage
components.conf 312 -
DAPIncrementality.sys.mjs 8589 -
DAPReportController.sys.mjs The purpose of this class is to limit (cap) sending of DAP reports. The current DAP draft standard is available here: https://github.com/ietf-wg-ppm/draft-ietf-ppm-dap 7556 -
DAPSender.sys.mjs The purpose of this singleton is to handle the core DAP (Distributed Aggregation Protocol) functionality. The current DAP draft standard is available here: https://github.com/ietf-wg-ppm/draft-ietf-ppm-dap This module provides the low-level DAP report generation and sending capabilities, independent of telemetry preferences. It can be used by any feature that needs privacy-preserving aggregation. NOTE: Do not, under any circumstances, use this mechanism directly to send telemetry. Use DAPTelemetrySender for that instead. 10542 -
DAPTelemetry.cpp 8735 -
DAPTelemetry.h 540 -
DAPTelemetryBindings.h 369 -
DAPTelemetrySender.sys.mjs This class wraps DAPSender and adds telemetry-specific logic, ensuring that DAP reports are only sent when telemetry is enabled. 4707 -
DAPVisitCounter.sys.mjs Intentionally not adding AsyncShutdown.appShutdownConfirmed.addBlocker. Attempting to send a report on shutdown causes a NetworkError which ultimately result in a lost report. Since the pending report is persisted, it will be submitted on the next start. 5215 -
ffi -
ffi-gtest -
moz.build 1033 -
nsIDAPTelemetry.idl Split measurement into shares and create a report with encrypted shares. @param leaderHpkeConfig Leader encryption configuration. @param helperHpkeConfig Helper encryption configuration. @param measurement The data which will be encoded and shared. @param task_id Identifies which task this measurement is for which influences both encoding and encryption. @param [bits] Bitwidth of integers that the VDAF consumes. size of vector in the case of histograms. @param [length] Number of bins in the case of histograms. @param time_precision Determines the report timestamp. @return The raw bytes of a report, ready for sending. @note This can potentially run for a long time. Take care not to block the main thread for too long. 2435 -
tests -