Skip to content

Commit

Permalink
rename algo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmturner committed Oct 17, 2024
1 parent 112d966 commit 217a8e2
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1531,9 +1531,8 @@ following steps at the end of the scope nested under step 5 ("Validate the given
<div algorithm="protected-audience-joinadig-monkey-patch">
17. If |group|["{{AuctionAdInterestGroup/privateAggregationConfig}}"]
[=map/exists=]:
1. Let |aggregationCoordinator| be the result of [=obtain the Private
Aggregation coordinator from a PA config|obtaining the Private
Aggregation coordinator=] given
1. Let |aggregationCoordinator| be the result of [=obtaining the coordinator
from a Private Aggregation config=] given
|group|["{{AuctionAdInterestGroup/privateAggregationConfig}}"].
1. If |aggregationCoordinator| is a {{DOMException}}, then
[=exception/throw=] |aggregationCoordinator|.
Expand Down Expand Up @@ -1629,9 +1628,8 @@ modified to add the following steps just before the last step ("Return
: [=debug details/key=]
:: |debugKey|
1. If |config|["{{AuctionAdConfig/privateAggregationConfig}}"] [=map/exists=]:
1. Let |aggregationCoordinator| be the result of [=obtain the Private
Aggregation coordinator from a PA config|obtaining the Private
Aggregation coordinator=] given
1. Let |aggregationCoordinator| be the result of [=obtaining the coordinator
from a Private Aggregation config=] given
|config|["{{AuctionAdConfig/privateAggregationConfig}}"].
1. If |aggregationCoordinator| is a {{DOMException}}, return failure.
1. Set <var ignore>auctionConfig</var>'s [=auction config/seller Private
Expand Down Expand Up @@ -2138,8 +2136,7 @@ They return an [=interest group=] or null:
</div>

<div algorithm>
To <dfn lt="obtain the Private Aggregation coordinator from a PA config">obtain
the Private Aggregation coordinator</dfn> given a
To <dfn>obtain the coordinator from a Private Aggregation config</dfn> given a
{{ProtectedAudiencePrivateAggregationConfig}} |config|, perform the following
steps. They return an [=aggregation coordinator=], null or a {{DOMException}}.

Expand Down

0 comments on commit 217a8e2

Please sign in to comment.