Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link adAuctionHeaders #863

Merged
merged 3 commits into from
Oct 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -936,10 +936,11 @@ To <dfn>validate and convert auction ad config</dfn> given an {{AuctionAdConfig}

Note: The JavaScript code calling {{Navigator/runAdAuction()}} is responsible for resolving
|config|["{{AuctionAdConfig/directFromSellerSignalsHeaderAdSlot}}"] only when the {{Promise}}
returned from an associated {{WindowOrWorkerGlobalScope/fetch()}} that was made with the
`{adAuctionHeaders: true}` option resolves or rejects. Otherwise, there will be a race
condition that the worklet can run without the direct from seller signals that it needs.
See [handling direct from seller signals](#handling-direct-from-seller-signals) for details.
returned from an associated [=request=], whose [=request/initiator type=] is `"fetch"` and the
{{RequestInit/adAuctionHeaders}} option set to `true`, resolves or rejects. Otherwise, there
will be a race condition that the worklet can run without the direct from seller signals that
it needs. See [handling direct from seller signals](#handling-direct-from-seller-signals) for
details.

* To parse the value |result|:
1. Set |auctionConfig|'s [=auction config/direct from seller signals header ad slot=] to
Expand Down