attribution-reporting-api.idl (933B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: Attribution Reporting (https://wicg.github.io/attribution-reporting-api/) 5 6 interface mixin HTMLAttributionSrcElementUtils { 7 [CEReactions, SecureContext] attribute USVString attributionSrc; 8 }; 9 10 HTMLAnchorElement includes HTMLAttributionSrcElementUtils; 11 HTMLAreaElement includes HTMLAttributionSrcElementUtils; 12 HTMLImageElement includes HTMLAttributionSrcElementUtils; 13 HTMLScriptElement includes HTMLAttributionSrcElementUtils; 14 15 dictionary AttributionReportingRequestOptions { 16 required boolean eventSourceEligible; 17 required boolean triggerEligible; 18 }; 19 20 partial dictionary RequestInit { 21 AttributionReportingRequestOptions attributionReporting; 22 }; 23 24 partial interface XMLHttpRequest { 25 [SecureContext] 26 undefined setAttributionReporting(AttributionReportingRequestOptions options); 27 };