demo · v132
Private Aggregation debug mode — rule simulator
Toggle the privacy environment and see whether enableDebugMode() would emit reports under the old rule (cookie-eligible only) versus the new 132 rule (eligible OR partitioning OR explicit dev opt-in).
old rule (pre-132)
requires cookie-eligible context
debug fires: —
132+ rule
accepts cookie-eligible, partitioning, or dev override
debug fires: —
—
the API
// inside a Shared Storage / Protected Audience worklet
privateAggregation.enableDebugMode({ debugKey: 12345n });
privateAggregation.contributeToHistogram({ bucket: 1n, value: 10 });
see also
- PA debug mode ignoring site exceptions — feature index
- ChromeStatus entry