-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync interfaces/ with @webref/idl 3.60.0 (#50799)
Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com>
- Loading branch information
1 parent
bbb5c43
commit c42888a
Showing
8 changed files
with
79 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: Privacy-Preserving Attribution: Level 1 (https://w3c.github.io/ppa/) | ||
|
||
partial interface Navigator { | ||
[SecureContext, SameObject] readonly attribute PrivateAttribution privateAttribution; | ||
}; | ||
|
||
enum PrivateAttributionProtocol { "dap-12-histogram", "tee-00" }; | ||
|
||
dictionary PrivateAttributionAggregationService { | ||
required DOMString url; | ||
required DOMString protocol; | ||
}; | ||
|
||
[SecureContext, Exposed=Window] | ||
interface PrivateAttributionAggregationServices { | ||
readonly setlike<PrivateAttributionAggregationService>; | ||
}; | ||
|
||
[SecureContext, Exposed=Window] | ||
interface PrivateAttribution { | ||
readonly attribute PrivateAttributionAggregationServices aggregationServices; | ||
}; | ||
|
||
dictionary PrivateAttributionImpressionOptions { | ||
required unsigned long histogramIndex; | ||
required unsigned long filterData; | ||
required DOMString conversionSite; | ||
unsigned long lifetimeDays = 30; | ||
}; | ||
|
||
[SecureContext, Exposed=Window] | ||
partial interface PrivateAttribution { | ||
undefined saveImpression(PrivateAttributionImpressionOptions options); | ||
}; | ||
|
||
dictionary PrivateAttributionConversionOptions { | ||
required DOMString aggregationService; | ||
double epsilon = 1.0; | ||
|
||
required unsigned long histogramSize; | ||
|
||
PrivateAttributionLogic logic = "last-touch"; | ||
unsigned long value = 1; | ||
unsigned long maxValue = 1; | ||
|
||
unsigned long lookbackDays; | ||
unsigned long filterData; | ||
sequence<DOMString> impressionSites = []; | ||
sequence<DOMString> intermediarySites = []; | ||
}; | ||
|
||
dictionary PrivateAttributionConversionResult { | ||
required Uint8Array report; | ||
}; | ||
|
||
[SecureContext, Exposed=Window] | ||
partial interface PrivateAttribution { | ||
Promise<PrivateAttributionConversionResult> measureConversion(PrivateAttributionConversionOptions options); | ||
}; | ||
|
||
enum PrivateAttributionLogic { | ||
"last-touch", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters