Skip to content

Commit

Permalink
Merge branch 'main' into move-stuff-to-pa
Browse files Browse the repository at this point in the history
  • Loading branch information
Maks Orlovich committed Oct 21, 2024
2 parents eebe82a + d98b3fc commit 0916639
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,24 @@ an [=origin=] |origin|, perform the following steps. They return a [=boolean=].

</div>

<div algorithm>
To <dfn export>obtain the Private Aggregation coordinator</dfn> given a
{{USVString}} |originString|, perform the following steps. They return an
[=aggregation coordinator=] or a {{DOMException}}.

1. Let |url| be the result of running the [=URL parser=] on |originString|.
1. If |url| is failure or null, return a new {{DOMException}} with name
"`SyntaxError`".

Issue: Consider throwing an error if the path is not empty.
1. Let |origin| be |url|'s [=url/origin=].
1. If the result of [=determining if an origin is an aggregation coordinator=]
given |origin| is false, return a new {{DOMException}} with name
"`DataError`".
1. Return |origin|.

</div>

<div algorithm>
To <dfn export>set the aggregation coordinator for a batching scope</dfn> given
an [=origin=] |origin| and a [=batching scope=] |batchingScope|:
Expand Down Expand Up @@ -1453,6 +1471,7 @@ failure, then..."), renumbering the later steps as appropriate:

</div>


The <a spec="turtledove">generate and score bids</a> algorithm is modified by
inserting the following step before each of the two "Return <var ignore>leadingBidInfo</var>'s
<a spec="turtledove" for="leading bid info">leading bid</a>" steps (one in a
Expand Down

0 comments on commit 0916639

Please sign in to comment.