WebIDLpedia

PrivateAggregation interface

Definition

Private Aggregation API defines PrivateAggregation

[Exposed=(InterestGroupScriptRunnerGlobalScope,SharedStorageWorklet),
 SecureContext]
interface PrivateAggregation {
  undefined contributeToHistogram(PAHistogramContribution contribution);
  undefined enableDebugMode(optional PADebugModeOptions options = {});
};

This interface is extended in the following specifications:

Consolidated IDL (across mixin and partials)
[Exposed=(InterestGroupScriptRunnerGlobalScope,SharedStorageWorklet),
 SecureContext]
interface PrivateAggregation {
  undefined contributeToHistogram(PAHistogramContribution contribution);
  undefined enableDebugMode(optional PADebugModeOptions options = {});
  undefined contributeToHistogramOnEvent(
      DOMString event, PAExtendedHistogramContribution contribution);
};

Methods and attributes that return objects implementing PrivateAggregation

Referring IDL interfaces/dictionaries

Referring specifications