Skip to content

Commit

Permalink
Change the term worklet to script runner in the spec. (#1075)
Browse files Browse the repository at this point in the history
Co-authored-by: Qingxin Wu <[email protected]>
  • Loading branch information
qingxinwu and Qingxin Wu authored Mar 5, 2024
1 parent 0488768 commit c5a1bb4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ To <dfn>validate and convert auction ad config</dfn> given an {{AuctionAdConfig}
Note: The JavaScript code calling {{Navigator/runAdAuction()}} is responsible for *not*
resolving |config|["{{AuctionAdConfig/directFromSellerSignalsHeaderAdSlot}}"]
until direct from seller signals have been retrieved from one or more [:Ad-Auction-Signals:]
headers, as resolving this Promise early would cause a race condition in which the worklet
headers, as resolving this Promise early would cause a race condition in which the [=script runners=]
might run without the direct from seller signals that it needs. There are two ways that
direct from seller signals can be retrieved. The first is for the JavaScript code to issue a
[=request=] whose [=request/initiator type=] is `"fetch"` and whose
Expand Down Expand Up @@ -4200,9 +4200,9 @@ This section specifies a manner by which some data, including [=additional bids=
their intended auction.

Any {{Document}} in a [=traversable navigable=] may run a Protected Audience auction (with
{{Window/navigator}}.{{Navigator/runAdAuction()}}) whose worklet functions receive signal objects
derived from JSON from an [:Ad-Auction-Signals:] header, or [=additional bids=] derived from an
[:Ad-Auction-Additional-Bid:] header, captured by a {{WindowOrWorkerGlobalScope/fetch()}} call
{{Window/navigator}}.{{Navigator/runAdAuction()}}) whose [=script runners=] functions receive signal
objects derived from JSON from an [:Ad-Auction-Signals:] header, or [=additional bids=] derived from
an [:Ad-Auction-Additional-Bid:] header, captured by a {{WindowOrWorkerGlobalScope/fetch()}} call
(using the {{RequestInit/adAuctionHeaders}} option) initiated by any *other* {{Document}} in the
*same* [=traversable navigable=], or from an
<a spec="html" lt="navigate an iframe or frame">iframe navigation</a>
Expand Down

0 comments on commit c5a1bb4

Please sign in to comment.