-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1940282 [wpt PR 49954] - Add support for Ad-Auction-Result-Nonce …
…header for PA B&A, a=testonly Automatic update from web-platform-tests Add support for Ad-Auction-Result-Nonce header for PA B&A Add support for the alternate authorization flow for Protected Audiences Bidding and Auction response (as described in WICG/turtledove#1233). This feature is behind the FledgeBiddingAndAuctionNonceSupport feature flag which is going to be enabled by default (for a waterfall rollout in M133). Bug: 385128725 Change-Id: Id3c622241c82ed0b71037bfeb1ca5432cd6e66dc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6109795 Reviewed-by: Maks Orlovich <[email protected]> Commit-Queue: Russ Hamilton <[email protected]> Reviewed-by: Brendon Tiszka <[email protected]> Cr-Commit-Position: refs/heads/main@{#1403077} -- wpt-commits: 48f9ec1e463fbe03e411a77dae446b7c6de4f577 wpt-pr: 49954
- Loading branch information
1 parent
5e65e05
commit b6c6a11
Showing
3 changed files
with
113 additions
and
19 deletions.
There are no files selected for viewing
11 changes: 8 additions & 3 deletions
11
testing/web-platform/tests/fledge/tentative/resources/authorize-server-response.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
def main(request, response): | ||
response.status = (200, b"OK") | ||
response.headers.set(b"Content-Type", b"text/plain") | ||
hash_list = request.GET.get_list(b"hashes") | ||
response.headers.set(b"Ad-Auction-Result", | ||
b",".join(hash_list)) | ||
if b"hashes" in request.GET: | ||
hash_list = request.GET.get_list(b"hashes") | ||
response.headers.set(b"Ad-Auction-Result", | ||
b",".join(hash_list)) | ||
if b"nonces" in request.GET: | ||
nonce_list = request.GET.get_list(b"nonces") | ||
response.headers.set(b"Ad-Auction-Result-Nonce", | ||
b",".join(nonce_list)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters