|
9 | 9 | "rationale": "collect", |
10 | 10 | "steps": [ |
11 | 11 | { |
12 | | - "html": "<p>Collect the implicit API inputs:</p>", |
13 | | - "ignored": [ |
14 | | - "The current timestamp The impression site domain The iframe site domain" |
| 12 | + "html": "Collect the implicit API inputs from the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/#relevant-settings-object\" id=\"ref-for-relevant-settings-object③\">relevant settings object</a>:", |
| 13 | + "rationale": "/^otherwise(\\,| )/i", |
| 14 | + "steps": [ |
| 15 | + { |
| 16 | + "html": "<p>The timestamp is set to the <a data-link-type=\"dfn\" href=\"https://w3c.github.io/hr-time/#dfn-current-high-resolution-time\" id=\"ref-for-dfn-current-high-resolution-time\">current high resolution time</a>.</p>" |
| 17 | + }, |
| 18 | + { |
| 19 | + "html": "<p>The <a data-link-type=\"dfn\" href=\"https://w3c.github.io/ppa/#impression-site\" id=\"ref-for-impression-site①\">impression site</a> is set to the result of <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#obtain-a-site\" id=\"ref-for-obtain-a-site\">obtaining a site</a> from the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/#concept-environment-top-level-origin\" id=\"ref-for-concept-environment-top-level-origin②\">top-level origin</a>.</p>" |
| 20 | + }, |
| 21 | + { |
| 22 | + "html": "The <a data-link-type=\"dfn\" href=\"https://w3c.github.io/ppa/#intermediary-site\" id=\"ref-for-intermediary-site\">intermediary site</a> is set to", |
| 23 | + "rationale": "/^otherwise(\\,| )/i", |
| 24 | + "steps": [ |
| 25 | + { |
| 26 | + "html": "<p>a value of <code>undefined</code> if the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/#concept-origin\" id=\"ref-for-concept-origin③\">origin</a> is <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/#same-site\" id=\"ref-for-same-site②\">same site</a> with the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/#concept-environment-top-level-origin\" id=\"ref-for-concept-environment-top-level-origin③\">top-level origin</a>,</p>" |
| 27 | + }, |
| 28 | + { |
| 29 | + "html": "<p>otherwise, the result of <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#obtain-a-site\" id=\"ref-for-obtain-a-site①\">obtaining a site</a> from the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/#concept-origin\" id=\"ref-for-concept-origin④\">origin</a>.</p>" |
| 30 | + } |
| 31 | + ] |
| 32 | + } |
15 | 33 | ] |
16 | 34 | }, |
17 | 35 | { |
|
32 | 50 | ] |
33 | 51 | }, |
34 | 52 | { |
35 | | - "html": "The arguments to <a class=\"idl-code\" data-link-type=\"method\" href=\"https://w3c.github.io/ppa/#dom-privateattribution-measureconversion\" id=\"ref-for-dom-privateattribution-measureconversion⑧\">measureConversion()</a> are as follows:", |
| 53 | + "html": "The arguments to <a class=\"idl-code\" data-link-type=\"method\" href=\"https://w3c.github.io/ppa/#dom-privateattribution-measureconversion\" id=\"ref-for-dom-privateattribution-measureconversion①⓪\">measureConversion()</a> are as follows:", |
36 | 54 | "rationale": "collect", |
37 | 55 | "steps": [ |
38 | 56 | { |
39 | | - "html": "<p>Collect the implicit API inputs</p>", |
40 | | - "ignored": [ |
41 | | - "The current timestamp The conversion site domain The iframe site domain" |
| 57 | + "html": "Collect the implicit API inputs from the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/#relevant-settings-object\" id=\"ref-for-relevant-settings-object④\">relevant settings object</a>:", |
| 58 | + "rationale": "/^otherwise(\\,| )/i", |
| 59 | + "steps": [ |
| 60 | + { |
| 61 | + "html": "<p>The timestamp is set to the <a data-link-type=\"dfn\" href=\"https://w3c.github.io/hr-time/#dfn-current-high-resolution-time\" id=\"ref-for-dfn-current-high-resolution-time①\">current high resolution time</a>.</p>" |
| 62 | + }, |
| 63 | + { |
| 64 | + "html": "<p>The <a data-link-type=\"dfn\" href=\"https://w3c.github.io/ppa/#conversion-site\" id=\"ref-for-conversion-site①\">conversion site</a> is set to the result of <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#obtain-a-site\" id=\"ref-for-obtain-a-site②\">obtaining a site</a> from the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/#concept-environment-top-level-origin\" id=\"ref-for-concept-environment-top-level-origin④\">top-level origin</a>.</p>" |
| 65 | + }, |
| 66 | + { |
| 67 | + "html": "The <a data-link-type=\"dfn\" href=\"https://w3c.github.io/ppa/#intermediary-site\" id=\"ref-for-intermediary-site②\">intermediary site</a> is set to", |
| 68 | + "rationale": "/^otherwise(\\,| )/i", |
| 69 | + "steps": [ |
| 70 | + { |
| 71 | + "html": "<p>a value of <code>undefined</code> if the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/#concept-origin\" id=\"ref-for-concept-origin⑤\">origin</a> is <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/#same-site\" id=\"ref-for-same-site③\">same site</a> with the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/#concept-environment-top-level-origin\" id=\"ref-for-concept-environment-top-level-origin⑤\">top-level origin</a>,</p>" |
| 72 | + }, |
| 73 | + { |
| 74 | + "html": "<p>otherwise, the result of <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#obtain-a-site\" id=\"ref-for-obtain-a-site③\">obtaining a site</a> from the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/#concept-origin\" id=\"ref-for-concept-origin⑥\">origin</a>.</p>" |
| 75 | + } |
| 76 | + ] |
| 77 | + } |
42 | 78 | ] |
43 | 79 | }, |
44 | 80 | { |
45 | | - "html": "Validate the page-supplied API inputs", |
| 81 | + "html": "Validate the page-supplied API inputs:", |
46 | 82 | "rationale": "if", |
47 | 83 | "steps": [ |
48 | 84 | { |
|
68 | 104 | "rationale": "initialize", |
69 | 105 | "steps": [ |
70 | 106 | { |
71 | | - "html": "<p>Initialize <var>matchedImpressions</var> to the empty <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#ordered-set\" id=\"ref-for-ordered-set\">set</a>.</p>" |
| 107 | + "html": "<p>Initialize <var>matchedImpressions</var> to the empty <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#sets\" id=\"ref-for-sets③\">set</a>.</p>" |
72 | 108 | }, |
73 | 109 | { |
74 | 110 | "html": "<p>Let <var>now</var> be the current time.</p>" |
75 | 111 | }, |
76 | 112 | { |
77 | | - "html": "For each <var>epoch</var> starting from the oldest epoch supported by the <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#user-agent\" id=\"ref-for-user-agent⑧\">user agent</a> to the current <a data-link-type=\"dfn\" href=\"https://w3c.github.io/ppa/#privacy-budget-epoch\" id=\"ref-for-privacy-budget-epoch\">privacy budget epoch</a>:", |
| 113 | + "html": "For each <var>epoch</var> starting from the oldest <a data-link-type=\"dfn\" href=\"https://w3c.github.io/ppa/#privacy-budget-epoch\" id=\"ref-for-privacy-budget-epoch\">epoch</a> supported by the <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#user-agent\" id=\"ref-for-user-agent⑧\">user agent</a> to the current <a data-link-type=\"dfn\" href=\"https://w3c.github.io/ppa/#privacy-budget-epoch\" id=\"ref-for-privacy-budget-epoch①\">privacy budget epoch</a>:", |
78 | 114 | "rationale": "let", |
79 | 115 | "steps": [ |
80 | 116 | { |
|
117 | 153 | { |
118 | 154 | "name": "fill a histogram with last-touch attribution", |
119 | 155 | "href": "https://w3c.github.io/ppa/#fill-a-histogram-with-last-touch-attribution", |
120 | | - "html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"fill-a-histogram-with-last-touch-attribution\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">fill a histogram with last-touch attribution</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=\"https://w3c.github.io/ppa/#impression\" id=\"ref-for-impression②⓪\">impressions</a> <var>matchedImpressions</var>, a <var>histogramSize</var>, and a <var>value</var>:", |
| 156 | + "html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"fill-a-histogram-with-last-touch-attribution\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">fill a histogram with last-touch attribution</dfn>, given a <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#sets\" id=\"ref-for-sets④\">set</a> of <a data-link-type=\"dfn\" href=\"https://w3c.github.io/ppa/#impression\" id=\"ref-for-impression②①\">impressions</a> <var>matchedImpressions</var>, a <var>histogramSize</var>, and a <var>value</var>:", |
121 | 157 | "rationale": "assert", |
122 | 158 | "steps": [ |
123 | 159 | { |
|
0 commit comments