diff options
Diffstat (limited to 'testing/web-platform/tests/interfaces/attribution-reporting-api.idl')
-rw-r--r-- | testing/web-platform/tests/interfaces/attribution-reporting-api.idl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/web-platform/tests/interfaces/attribution-reporting-api.idl b/testing/web-platform/tests/interfaces/attribution-reporting-api.idl new file mode 100644 index 0000000000..ed4497b56f --- /dev/null +++ b/testing/web-platform/tests/interfaces/attribution-reporting-api.idl @@ -0,0 +1,26 @@ +// GENERATED CONTENT - DO NOT EDIT +// Content was automatically extracted by Reffy into webref +// (https://github.com/w3c/webref) +// Source: Attribution Reporting (https://wicg.github.io/attribution-reporting-api/) + +interface mixin HTMLAttributionSrcElementUtils { + [CEReactions, SecureContext] attribute USVString attributionSrc; +}; + +HTMLAnchorElement includes HTMLAttributionSrcElementUtils; +HTMLImageElement includes HTMLAttributionSrcElementUtils; +HTMLScriptElement includes HTMLAttributionSrcElementUtils; + +dictionary AttributionReportingRequestOptions { + required boolean eventSourceEligible; + required boolean triggerEligible; +}; + +partial dictionary RequestInit { + AttributionReportingRequestOptions attributionReporting; +}; + +partial interface XMLHttpRequest { + [SecureContext] + undefined setAttributionReporting(AttributionReportingRequestOptions options); +}; |