Private Aggregation API: aggregate error reporting
- Category
- Miscellaneous
- Type
- New or changed feature
- Status
- On hold (Chrome On hold)
- Intent stage
- None
Summary
There are a range of error conditions that can be hit when using the Private Aggregation API. For example, the privacy budget could run out, preventing any further histogram contributions. This feature allows developers to register histogram contributions that should only be sent if a particular type of error occurs. This feature supports measuring the frequency of the error conditions and to split these measurements on relevant developer-specified dimensions (e.g. version of deployed code). As the errors themselves may be cross-site information, we cannot simply expose them to the page for users without third-party cookies. Instead, this feature reuses the existing aggregate, noised reporting pipelines through the Aggregation Service.
Standards & signals
- Specification: https://github.com/patcg-individual-drafts/private-aggregation-api/pull/172
- Firefox: Closed Without a Position — We have not requested a signal for this change specifically. The Gecko position on Shared Storage (one of the ways Private Aggregation is exposed) is negative.
- Safari: Closed Without a Position — We have not requested a signal for this change specifically.
- Web developers: Positive — One developer described it as a welcome improvement, with some caveats.
- Tracking bug: https://crbug.com/381788013
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=private-aggregation-api-aggregate-error-reporting
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Private%20Aggregation%20API%3A%20aggregate%20error%20reporting
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Private%20Aggregation%20API%3A%20aggregate%20error%20reporting
- Baseline status: https://webstatus.dev/?q=Private%20Aggregation%20API%3A%20aggregate%20error%20reporting
Explainers: https://github.com/patcg-individual-drafts/private-aggregation-api/blob/main/error_reporting.md