private-aggregation-api.idl (816B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: Private Aggregation API (https://patcg-individual-drafts.github.io/private-aggregation-api/) 5 6 [Exposed=(InterestGroupScriptRunnerGlobalScope,SharedStorageWorklet), 7 SecureContext] 8 interface PrivateAggregation { 9 undefined contributeToHistogram(PAHistogramContribution contribution); 10 undefined contributeToHistogramOnEvent(DOMString event, 11 record<DOMString, any> contribution); 12 undefined enableDebugMode(optional PADebugModeOptions options = {}); 13 }; 14 15 dictionary PAHistogramContribution { 16 required bigint bucket; 17 required long value; 18 bigint filteringId = 0; 19 }; 20 21 dictionary PADebugModeOptions { 22 required bigint debugKey; 23 };