diff --git a/spec.bs b/spec.bs index 1b0adfd3a..b8c5c217c 100644 --- a/spec.bs +++ b/spec.bs @@ -153,9 +153,9 @@ The joinAdInterestGroup(|group|) method steps ar
Temporarily, Chromium does not include the required keyword -for {{AuctionAdInterestGroup/lifetimeMs}}, and instead starts this algorithm with the step +for {{GenerateBidInterestGroup/lifetimeMs}}, and instead starts this algorithm with the step -1. If |group|["{{AuctionAdInterestGroup/lifetimeMs}}"] does not [=map/exist=], throw a {{TypeError}}. +1. If |group|["{{GenerateBidInterestGroup/lifetimeMs}}"] does not [=map/exist=], throw a {{TypeError}}. This is detectable because it can change the set of fields that are read from the argument when a {{TypeError}} is eventually thrown, but it will never change whether the call succeeds or fails. @@ -169,43 +169,43 @@ This is detectable because it can change the set of fields that are read from th 1. Let |interestGroup| be a new [=interest group=]. 1. Validate the given |group| and set |interestGroup|'s fields accordingly. 1. Set |interestGroup|'s [=interest group/expiry=] to the [=current wall time=] plus - |group|["{{AuctionAdInterestGroup/lifetimeMs}}"] milliseconds. + |group|["{{GenerateBidInterestGroup/lifetimeMs}}"] milliseconds. 1. Set |interestGroup|'s [=interest group/next update after=] to the [=current wall time=] plus 24 hours. 1. Set |interestGroup|'s [=interest group/owner=] to the result of [=parsing an origin=] on - |group|["{{AuctionAdInterestGroup/owner}}"]. + |group|["{{GenerateBidInterestGroup/owner}}"]. 1. If |interestGroup|'s [=interest group/owner=] is failure, or its [=url/scheme=] is not "`https`", [=exception/throw=] a {{TypeError}}. - 1. Set |interestGroup|'s [=interest group/name=] to |group|["{{AuctionAdInterestGroup/name}}"]. + 1. Set |interestGroup|'s [=interest group/name=] to |group|["{{GenerateBidInterestGroup/name}}"]. 1. Set |interestGroup|'s [=interest group/priority=] to |group|["{{AuctionAdInterestGroup/priority}}"]. 1. Set |interestGroup|'s [=interest group/enable bidding signals prioritization=] to - |group|["{{AuctionAdInterestGroup/enableBiddingSignalsPrioritization}}"]. - 1. If |group|["{{AuctionAdInterestGroup/priorityVector}}"] [=map/exists=], then set + |group|["{{GenerateBidInterestGroup/enableBiddingSignalsPrioritization}}"]. + 1. If |group|["{{GenerateBidInterestGroup/priorityVector}}"] [=map/exists=], then set |interestGroup|'s [=interest group/priority vector=] to - |group|["{{AuctionAdInterestGroup/priorityVector}}"]. + |group|["{{GenerateBidInterestGroup/priorityVector}}"]. 1. If |group|["{{AuctionAdInterestGroup/prioritySignalsOverrides}}"] [=map/exists=], then set |interestGroup|'s [=interest group/priority signals overrides=] to |group|["{{AuctionAdInterestGroup/prioritySignalsOverrides}}"]. 1. Set |interestGroup|'s [=interest group/execution mode=] to - |group|["{{AuctionAdInterestGroup/executionMode}}"]. + |group|["{{GenerateBidInterestGroup/executionMode}}"]. 1. For each |groupMember| and |interestGroupField| in the following table - + - + - + - +
Group memberInterest group field
"{{AuctionAdInterestGroup/biddingLogicURL}}""{{GenerateBidInterestGroup/biddingLogicURL}}" [=interest group/bidding url=]
"{{AuctionAdInterestGroup/biddingWasmHelperURL}}""{{GenerateBidInterestGroup/biddingWasmHelperURL}}" [=interest group/bidding wasm helper url=]
"{{AuctionAdInterestGroup/updateURL}}""{{GenerateBidInterestGroup/updateURL}}" [=interest group/update url=]
"{{AuctionAdInterestGroup/trustedBiddingSignalsURL}}""{{GenerateBidInterestGroup/trustedBiddingSignalsURL}}" [=interest group/trusted bidding signals url=]
@@ -219,23 +219,23 @@ This is detectable because it can change the set of fields that are read from th 1. Set |interestGroup|'s |interestGroupField| to |parsedUrl|. 1. If |interestGroup|'s [=interest group/trusted bidding signals url=]'s [=url/query=] is not null, then [=exception/throw=] a {{TypeError}}. - 1. If |group|["{{AuctionAdInterestGroup/trustedBiddingSignalsKeys}}"] [=map/exists=], then set + 1. If |group|["{{GenerateBidInterestGroup/trustedBiddingSignalsKeys}}"] [=map/exists=], then set |interestGroup|'s [=interest group/trusted bidding signals keys=] to - |group|["{{AuctionAdInterestGroup/trustedBiddingSignalsKeys}}"]. - 1. If |group|["{{AuctionAdInterestGroup/userBiddingSignals}}"] [=map/exists=]: + |group|["{{GenerateBidInterestGroup/trustedBiddingSignalsKeys}}"]. + 1. If |group|["{{GenerateBidInterestGroup/userBiddingSignals}}"] [=map/exists=]: 1. Set |interestGroup|'s [=interest group/user bidding signals=] to the result of [=serializing a JavaScript value to a JSON string=], given - |group|["{{AuctionAdInterestGroup/userBiddingSignals}}"]. This can [=exception/throw=] a + |group|["{{GenerateBidInterestGroup/userBiddingSignals}}"]. This can [=exception/throw=] a {{TypeError}}. 1. For each |groupMember| and |interestGroupField| in the following table - + - +
Group memberInterest group field
"{{AuctionAdInterestGroup/ads}}""{{GenerateBidInterestGroup/ads}}" [=interest group/ads=]
"{{AuctionAdInterestGroup/adComponents}}""{{GenerateBidInterestGroup/adComponents}}" [=interest group/ad components=]