You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p class="issue" id="issue-28aca340"><a class="self-link" href="#issue-28aca340"></a> Specify this in terms of <a href="https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigating-across-documents">Navigation</a></p>
<p>The user agent must periodically run <a data-link-type="dfn" href="#queue-reports-for-delivery" id="ref-for-queue-reports-for-delivery">queue reports for delivery</a> on the <a data-link-type="dfn" href="#event-level-report-cache" id="ref-for-event-level-report-cache①②">event-level report cache</a> and <a data-link-type="dfn" href="#aggregatable-attribution-report-cache" id="ref-for-aggregatable-attribution-report-cache⑨">aggregatable attribution report cache</a>.</p>
6887
+
<p>The user agent may delete reports without sending them according
6888
+
to <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#implementation-defined" id="ref-for-implementation-defined②">implementation-defined</a> criteria.</p>
6889
+
<p class="note" role="note"> For example, this can be used to limit the maximum age of
6890
+
any report that is sent. </p>
6887
6891
<p>To <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="queue-reports-for-delivery">queue reports for delivery</dfn> given a <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#ordered-set" id="ref-for-ordered-set⑤①">set</a> of <a data-link-type="dfn" href="#attribution-report" id="ref-for-attribution-report⑧">attribution reports</a> <var>cache</var>, run the following steps:</p>
<p><a data-link-type="dfn" href="https://infra.spec.whatwg.org/#list-iterate" id="ref-for-list-iterate⑥⑧">For each</a> <var>report</var> of <var>reportsToSend</var>, run the following steps <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel" id="ref-for-in-parallel②">in parallel</a>:</p>
6911
6915
<ol>
6912
6916
<li data-md>
6913
-
<p>Wait an <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#implementation-defined" id="ref-for-implementation-defined②">implementation-defined</a> random non-negative <a data-link-type="dfn" href="https://w3c.github.io/hr-time/#dfn-duration" id="ref-for-dfn-duration①⑥">duration</a>.</p>
6917
+
<p>Wait an <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#implementation-defined" id="ref-for-implementation-defined③">implementation-defined</a> random non-negative <a data-link-type="dfn" href="https://w3c.github.io/hr-time/#dfn-duration" id="ref-for-dfn-duration①⑥">duration</a>.</p>
6914
6918
<p class="note" role="note">On startup, it is possible the user agent will need to send many reports whose report times passed while the browser was
6915
6919
closed. Adding random delay prevents prevents <a data-link-type="dfn" href="#event-level-report-event-id" id="ref-for-event-level-report-event-id①">event IDs</a> from different <a data-link-type="dfn" href="#attribution-source-source-origin" id="ref-for-attribution-source-source-origin⑤">source origins</a> being joined based on the time they were received. </p>
6916
6920
<li data-md>
6917
-
<p>Optionally, wait a further <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#implementation-defined" id="ref-for-implementation-defined③">implementation-defined</a> <a data-link-type="dfn" href="https://w3c.github.io/hr-time/#dfn-duration" id="ref-for-dfn-duration①⑦">duration</a>.</p>
6921
+
<p>Optionally, wait a further <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#implementation-defined" id="ref-for-implementation-defined④">implementation-defined</a> <a data-link-type="dfn" href="https://w3c.github.io/hr-time/#dfn-duration" id="ref-for-dfn-duration①⑦">duration</a>.</p>
6918
6922
<p class="note" role="note">This is intended to allow user agents to optimize device resource usage. </p>
6919
6923
<li data-md>
6920
6924
<p>Run <a data-link-type="dfn" href="#attempt-to-deliver-a-report" id="ref-for-attempt-to-deliver-a-report">attempt to deliver a report</a> with <var>report</var>.</p>
"852ada56": {"dfnID":"852ada56","dfnText":"port","external":true,"refSections":[{"refs":[{"id":"ref-for-concept-url-port"}],"title":"13.4. Obtaining an aggregatable report\u2019s aggregation service payloads"},{"refs":[{"id":"ref-for-concept-url-port\u2460"}],"title":"13.7. Get report request URL"}],"url":"https://url.spec.whatwg.org/#concept-url-port"},
9377
9381
"85394472": {"dfnID":"85394472","dfnText":"Document","external":true,"refSections":[{"refs":[{"id":"ref-for-document"}],"title":"10.16. Making a background attributionsrc request"}],"url":"https://dom.spec.whatwg.org/#document"},
9378
9382
"857d5516": {"dfnID":"857d5516","dfnText":"client","external":true,"refSections":[{"refs":[{"id":"ref-for-concept-request-client"}],"title":"13.8. Creating a report request"}],"url":"https://fetch.spec.whatwg.org/#concept-request-client"},
9379
-
"860300d4": {"dfnID":"860300d4","dfnText":"implementation-defined","external":true,"refSections":[{"refs":[{"id":"ref-for-implementation-defined"},{"id":"ref-for-implementation-defined\u2460"}],"title":"10.16. Making a background attributionsrc request"},{"refs":[{"id":"ref-for-implementation-defined\u2461"},{"id":"ref-for-implementation-defined\u2462"}],"title":"13. Report delivery"}],"url":"https://infra.spec.whatwg.org/#implementation-defined"},
9383
+
"860300d4": {"dfnID":"860300d4","dfnText":"implementation-defined","external":true,"refSections":[{"refs":[{"id":"ref-for-implementation-defined"},{"id":"ref-for-implementation-defined\u2460"}],"title":"10.16. Making a background attributionsrc request"},{"refs":[{"id":"ref-for-implementation-defined\u2461"},{"id":"ref-for-implementation-defined\u2462"},{"id":"ref-for-implementation-defined\u2463"}],"title":"13. Report delivery"}],"url":"https://infra.spec.whatwg.org/#implementation-defined"},
9380
9384
"86804dc9": {"dfnID":"86804dc9","dfnText":"fenced navigable","external":true,"refSections":[{"refs":[{"id":"ref-for-fenced-navigable-container-fenced-navigable"}],"title":"10.16. Making a background attributionsrc request"}],"url":"https://wicg.github.io/fenced-frame/#fenced-navigable-container-fenced-navigable"},
9381
9385
"87298d74": {"dfnID":"87298d74","dfnText":"feature separator","external":true,"refSections":[{"refs":[{"id":"ref-for-feature-separator"},{"id":"ref-for-feature-separator\u2460"}],"title":"2.2. Window open steps"}],"url":"https://html.spec.whatwg.org/multipage/nav-history-apis.html#feature-separator"},
9382
9386
"87f27c71": {"dfnID":"87f27c71","dfnText":"fetchpriority","external":true,"refSections":[{"refs":[{"id":"ref-for-attr-script-fetchpriority"}],"title":"2.1. API for elements"}],"url":"https://html.spec.whatwg.org/multipage/scripting.html#attr-script-fetchpriority"},
0 commit comments