|
1879 | 1879 | "rationale": "return",
|
1880 | 1880 | "steps": [
|
1881 | 1881 | {
|
1882 |
| - "html": "<p>Return <var>states</var> / (<var>states</var> - 1 + e<sup><var>epsilon</var></sup>).</p>" |
| 1882 | + "html": "<p>Return <var>states</var> / (<var>states</var> − 1 + e<sup><var>epsilon</var></sup>).</p>" |
1883 | 1883 | }
|
1884 | 1884 | ]
|
1885 | 1885 | },
|
|
1913 | 1913 | "html": "<p>Let <var>pickRate</var> be the <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#obtain-a-randomized-source-response-pick-rate\" id=\"ref-for-obtain-a-randomized-source-response-pick-rate①\">randomized response pick rate</a> with <var>states</var> and <var>epsilon</var>.</p>"
|
1914 | 1914 | },
|
1915 | 1915 | {
|
1916 |
| - "html": "<p>Let <var>p</var> be <var>pickRate</var> * (<var>states</var> - 1) / <var>states</var>.</p>" |
| 1916 | + "html": "<p>Let <var>p</var> be <var>pickRate</var> × (<var>states</var> − 1) / <var>states</var>.</p>" |
1917 | 1917 | },
|
1918 | 1918 | {
|
1919 |
| - "html": "<p>Return log2(<var>states</var>) - h(<var>p</var>) - <var>p</var> * log2(<var>states</var> - 1) where h is the binary entropy function <a data-link-type=\"biblio\" href=\"https://wicg.github.io/attribution-reporting-api/#biblio-bin-ent\" title=\"Binary entropy function\">[BIN-ENT]</a>.</p>" |
| 1919 | + "html": "<p>Return log2(<var>states</var>) − h(<var>p</var>) − <var>p</var> × log2(<var>states</var> − 1) where h is the binary entropy function <a data-link-type=\"biblio\" href=\"https://wicg.github.io/attribution-reporting-api/#biblio-bin-ent\" title=\"Binary entropy function\">[BIN-ENT]</a>.</p>" |
1920 | 1920 | }
|
1921 | 1921 | ]
|
1922 | 1922 | },
|
|
1927 | 1927 | "rationale": "let",
|
1928 | 1928 | "steps": [
|
1929 | 1929 | {
|
1930 |
| - "html": "<p>Let <var>totalStates</var> be <var>numTriggerStates</var> + <var>maxEventStates</var> * (<var>attributionScopeLimit</var> - 1).</p>" |
| 1930 | + "html": "<p>Let <var>totalStates</var> be <var>numTriggerStates</var> + <var>maxEventStates</var> × (<var>attributionScopeLimit</var> − 1).</p>" |
1931 | 1931 | },
|
1932 | 1932 | {
|
1933 | 1933 | "html": "<p>Return log2(<var>totalStates</var>).</p>"
|
|
2678 | 2678 | ]
|
2679 | 2679 | },
|
2680 | 2680 | {
|
2681 |
| - "html": "<p>Let <var>aggregatableAttributionBudget</var> be <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#allowed-aggregatable-budget-per-source\" id=\"ref-for-allowed-aggregatable-budget-per-source④\">allowed aggregatable budget per source</a> - <var>aggregatableDebugBudget</var>.</p>" |
| 2681 | + "html": "<p>Let <var>aggregatableAttributionBudget</var> be <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#allowed-aggregatable-budget-per-source\" id=\"ref-for-allowed-aggregatable-budget-per-source④\">allowed aggregatable budget per source</a> − <var>aggregatableDebugBudget</var>.</p>" |
2682 | 2682 | },
|
2683 | 2683 | {
|
2684 | 2684 | "html": "<p>Let <var>namedBudgets</var> be the result of <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#parse-named-budgets-for-source\" id=\"ref-for-parse-named-budgets-for-source\">parsing named budgets for source</a> with <var>value</var>.</p>"
|
|
3553 | 3553 | }
|
3554 | 3554 | ]
|
3555 | 3555 | },
|
| 3556 | + { |
| 3557 | + "html": "If the result of running <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#check-if-an-attribution-source-should-be-blocked-by-reporting-origin-per-site-limit\" id=\"ref-for-check-if-an-attribution-source-should-be-blocked-by-reporting-origin-per-site-limit\">check if an attribution source should be blocked by reporting-origin per site limit</a> with <var>source</var> is <strong>blocked</strong>:", |
| 3558 | + "rationale": "run", |
| 3559 | + "steps": [ |
| 3560 | + { |
| 3561 | + "html": "<p>Run <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#obtain-and-deliver-debug-reports-on-source-registration\" id=\"ref-for-obtain-and-deliver-debug-reports-on-source-registration⑤\">obtain and deliver debug reports on source registration</a> with\n\"<code><a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#source-debug-data-type-source-reporting-origin-per-site-limit\" id=\"ref-for-source-debug-data-type-source-reporting-origin-per-site-limit①\">source-reporting-origin-per-site-limit</a></code>\" and <var>source</var>.</p>" |
| 3562 | + }, |
| 3563 | + { |
| 3564 | + "html": "<p>Return.</p>" |
| 3565 | + } |
| 3566 | + ] |
| 3567 | + }, |
3556 | 3568 | {
|
3557 | 3569 | "html": "<p>Let <var>destinationRateLimitResult</var> be the result of running <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#check-if-an-attribution-source-exceeds-the-time-based-destination-limits\" id=\"ref-for-check-if-an-attribution-source-exceeds-the-time-based-destination-limits\">check if an attribution source exceeds the time-based destination limit</a> with <var>source</var>.</p>"
|
3558 | 3570 | },
|
|
3561 | 3573 | "rationale": "run",
|
3562 | 3574 | "steps": [
|
3563 | 3575 | {
|
3564 |
| - "html": "<p>Run <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#obtain-and-deliver-debug-reports-on-source-registration\" id=\"ref-for-obtain-and-deliver-debug-reports-on-source-registration⑤\">obtain and deliver debug reports on source registration</a> with\n\"<code><a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#source-debug-data-type-source-destination-rate-limit\" id=\"ref-for-source-debug-data-type-source-destination-rate-limit①\">source-destination-rate-limit</a></code>\" and <var>source</var>.</p>" |
| 3576 | + "html": "<p>Run <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#obtain-and-deliver-debug-reports-on-source-registration\" id=\"ref-for-obtain-and-deliver-debug-reports-on-source-registration⑥\">obtain and deliver debug reports on source registration</a> with\n\"<code><a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#source-debug-data-type-source-destination-rate-limit\" id=\"ref-for-source-debug-data-type-source-destination-rate-limit①\">source-destination-rate-limit</a></code>\" and <var>source</var>.</p>" |
3565 | 3577 | },
|
3566 | 3578 | {
|
3567 | 3579 | "html": "<p>Return.</p>"
|
|
3573 | 3585 | "rationale": "run",
|
3574 | 3586 | "steps": [
|
3575 | 3587 | {
|
3576 |
| - "html": "<p>Run <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#obtain-and-deliver-debug-reports-on-source-registration\" id=\"ref-for-obtain-and-deliver-debug-reports-on-source-registration⑥\">obtain and deliver debug reports on source registration</a> with\n\"<code><a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#source-debug-data-type-source-destination-per-day-rate-limit\" id=\"ref-for-source-debug-data-type-source-destination-per-day-rate-limit①\">source-destination-per-day-rate-limit</a></code>\" and <var>source</var>.</p>" |
| 3588 | + "html": "<p>Run <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#obtain-and-deliver-debug-reports-on-source-registration\" id=\"ref-for-obtain-and-deliver-debug-reports-on-source-registration⑦\">obtain and deliver debug reports on source registration</a> with\n\"<code><a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#source-debug-data-type-source-destination-per-day-rate-limit\" id=\"ref-for-source-debug-data-type-source-destination-per-day-rate-limit①\">source-destination-per-day-rate-limit</a></code>\" and <var>source</var>.</p>" |
3577 | 3589 | },
|
3578 | 3590 | {
|
3579 | 3591 | "html": "<p>Return.</p>"
|
|
3588 | 3600 | "rationale": "run",
|
3589 | 3601 | "steps": [
|
3590 | 3602 | {
|
3591 |
| - "html": "<p>Run <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#obtain-and-deliver-debug-reports-on-source-registration\" id=\"ref-for-obtain-and-deliver-debug-reports-on-source-registration⑦\">obtain and deliver debug reports on source registration</a> with\n\"<code><a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#source-debug-data-type-source-destination-limit\" id=\"ref-for-source-debug-data-type-source-destination-limit②\">source-destination-limit</a></code>\" and <var>source</var>.</p>" |
| 3603 | + "html": "<p>Run <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#obtain-and-deliver-debug-reports-on-source-registration\" id=\"ref-for-obtain-and-deliver-debug-reports-on-source-registration⑧\">obtain and deliver debug reports on source registration</a> with\n\"<code><a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#source-debug-data-type-source-destination-limit\" id=\"ref-for-source-debug-data-type-source-destination-limit②\">source-destination-limit</a></code>\" and <var>source</var>.</p>" |
3592 | 3604 | },
|
3593 | 3605 | {
|
3594 | 3606 | "html": "<p>Return.</p>"
|
|
3612 | 3624 | "rationale": "run",
|
3613 | 3625 | "steps": [
|
3614 | 3626 | {
|
3615 |
| - "html": "<p>Run <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#obtain-and-deliver-debug-reports-on-source-registration\" id=\"ref-for-obtain-and-deliver-debug-reports-on-source-registration⑧\">obtain and deliver debug reports on source registration</a> with \"<code><a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#source-debug-data-type-source-destination-global-rate-limit\" id=\"ref-for-source-debug-data-type-source-destination-global-rate-limit①\">source-destination-global-rate-limit</a></code>\", <var>source</var>, <var>isNoised</var>, and <var>destinationLimitReplaced</var>.</p>" |
| 3627 | + "html": "<p>Run <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#obtain-and-deliver-debug-reports-on-source-registration\" id=\"ref-for-obtain-and-deliver-debug-reports-on-source-registration⑨\">obtain and deliver debug reports on source registration</a> with \"<code><a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#source-debug-data-type-source-destination-global-rate-limit\" id=\"ref-for-source-debug-data-type-source-destination-global-rate-limit①\">source-destination-global-rate-limit</a></code>\", <var>source</var>, <var>isNoised</var>, and <var>destinationLimitReplaced</var>.</p>" |
3616 | 3628 | },
|
3617 | 3629 | {
|
3618 | 3630 | "html": "<p>Return.</p>"
|
|
3634 | 3646 | "rationale": "run",
|
3635 | 3647 | "steps": [
|
3636 | 3648 | {
|
3637 |
| - "html": "<p>Run <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#obtain-and-deliver-debug-reports-on-source-registration\" id=\"ref-for-obtain-and-deliver-debug-reports-on-source-registration⑨\">obtain and deliver debug reports on source registration</a> with \"<code><a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#source-debug-data-type-source-reporting-origin-limit\" id=\"ref-for-source-debug-data-type-source-reporting-origin-limit①\">source-reporting-origin-limit</a></code>\", <var>source</var>, <var>isNoised</var>, and <var>destinationLimitReplaced</var>.</p>" |
| 3649 | + "html": "<p>Run <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#obtain-and-deliver-debug-reports-on-source-registration\" id=\"ref-for-obtain-and-deliver-debug-reports-on-source-registration①⓪\">obtain and deliver debug reports on source registration</a> with \"<code><a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#source-debug-data-type-source-reporting-origin-limit\" id=\"ref-for-source-debug-data-type-source-reporting-origin-limit①\">source-reporting-origin-limit</a></code>\", <var>source</var>, <var>isNoised</var>, and <var>destinationLimitReplaced</var>.</p>" |
3638 | 3650 | },
|
3639 | 3651 | {
|
3640 | 3652 | "html": "<p>Return.</p>"
|
|
3686 | 3698 | ]
|
3687 | 3699 | },
|
3688 | 3700 | {
|
3689 |
| - "html": "<p>Run <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#obtain-and-deliver-debug-reports-on-source-registration\" id=\"ref-for-obtain-and-deliver-debug-reports-on-source-registration①⓪\">obtain and deliver debug reports on source registration</a> with\n\"<code><a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#source-debug-data-type-source-success\" id=\"ref-for-source-debug-data-type-source-success③\">source-success</a></code>\", <var>source</var>, <var>isNoised</var>, and <var>destinationLimitReplaced</var>.</p>" |
| 3701 | + "html": "<p>Run <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#obtain-and-deliver-debug-reports-on-source-registration\" id=\"ref-for-obtain-and-deliver-debug-reports-on-source-registration①①\">obtain and deliver debug reports on source registration</a> with\n\"<code><a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#source-debug-data-type-source-success\" id=\"ref-for-source-debug-data-type-source-success③\">source-success</a></code>\", <var>source</var>, <var>isNoised</var>, and <var>destinationLimitReplaced</var>.</p>" |
3690 | 3702 | },
|
3691 | 3703 | {
|
3692 | 3704 | "html": "<p><a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#set-append\" id=\"ref-for-set-append②②\">Append</a> <var>source</var> to the <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#attribution-source-cache\" id=\"ref-for-attribution-source-cache①②\">attribution source cache</a>.</p>"
|
|
4377 | 4389 | {
|
4378 | 4390 | "name": "match an attribution source against a filter config",
|
4379 | 4391 | "href": "https://wicg.github.io/attribution-reporting-api/#match-an-attribution-source-against-a-filter-config",
|
4380 |
| - "html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"match-an-attribution-source-against-a-filter-config\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">match an attribution source against a filter config</dfn> given an <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#attribution-source\" id=\"ref-for-attribution-source⑥⑧\">attribution source</a> <var>source</var>, a <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#filter-config\" id=\"ref-for-filter-config①⑤\">filter config</a> <var>filter</var>, a <a data-link-type=\"dfn\" href=\"https://w3c.github.io/hr-time/#dfn-moment\" id=\"ref-for-dfn-moment②②\">moment</a> <var>moment</var>, and a <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#boolean\" id=\"ref-for-boolean②⑦\">boolean</a> <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-for=\"match an attribution source against a filter config\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"match-an-attribution-source-against-a-filter-config-isnegated\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\"><var>isNegated</var></dfn>:", |
| 4392 | + "html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"match-an-attribution-source-against-a-filter-config\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">match an attribution source against a filter config</dfn> given an <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#attribution-source\" id=\"ref-for-attribution-source⑥⑧\">attribution source</a> <var>source</var>, a <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#filter-config\" id=\"ref-for-filter-config①⑤\">filter config</a> <var>filter</var>, a <a data-link-type=\"dfn\" href=\"https://w3c.github.io/hr-time/#dfn-moment\" id=\"ref-for-dfn-moment②②\">moment</a> <var>moment</var>, and a <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#boolean\" id=\"ref-for-boolean②⑦\">boolean</a> <var>isNegated</var>:", |
4381 | 4393 | "rationale": "let",
|
4382 | 4394 | "steps": [
|
4383 | 4395 | {
|
|
5613 | 5625 | "html": "<p>Let <var>r</var> be a random double between 0 (inclusive) and 1 (exclusive) with uniform probability.</p>"
|
5614 | 5626 | },
|
5615 | 5627 | {
|
5616 |
| - "html": "<p>Return <var>triggerTime</var> + <var>r</var> * <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#randomized-aggregatable-attribution-report-delay\" id=\"ref-for-randomized-aggregatable-attribution-report-delay\">randomized aggregatable attribution report delay</a>.</p>" |
| 5628 | + "html": "<p>Return <var>triggerTime</var> + <var>r</var> × <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#randomized-aggregatable-attribution-report-delay\" id=\"ref-for-randomized-aggregatable-attribution-report-delay\">randomized aggregatable attribution report delay</a>.</p>" |
5617 | 5629 | }
|
5618 | 5630 | ]
|
5619 | 5631 | },
|
|
5748 | 5760 | "rationale": "let",
|
5749 | 5761 | "steps": [
|
5750 | 5762 | {
|
5751 |
| - "html": "<p>Let <var>fakeSourceTime</var> be <var>trigger</var>’s <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#attribution-trigger-trigger-time\" id=\"ref-for-attribution-trigger-trigger-time①⑤\">trigger time</a> - <var>day</var> days.</p>" |
| 5763 | + "html": "<p>Let <var>fakeSourceTime</var> be <var>trigger</var>’s <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#attribution-trigger-trigger-time\" id=\"ref-for-attribution-trigger-trigger-time①⑤\">trigger time</a> − <var>day</var> days.</p>" |
5752 | 5764 | },
|
5753 | 5765 | {
|
5754 | 5766 | "html": "If <var>roundedAttributedSourceTime</var> is not null and equals the result of <a data-link-type=\"dfn\" href=\"https://wicg.github.io/attribution-reporting-api/#obtain-rounded-source-time\" id=\"ref-for-obtain-rounded-source-time①\">obtaining rounded source time</a> with <var>fakeSourceTime</var>:",
|
|
0 commit comments