Bug 1878803 [wpt PR 44412] - Move CORS logic from direct-from-seller-signals.py to...
commit73ab5cb3fbc9be606a45ab1d0dbf76a6aaa13e66
authorOrr Bernstein <orrb@google.com>
Fri, 9 Feb 2024 22:12:11 +0000 (9 22:12 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 13 Feb 2024 08:17:30 +0000 (13 08:17 +0000)
tree793508daa05f6b6d8d0af94c4ac274cb27d69318
parent70ee666c0508005a05f8978c93ef3360be961c1e
Bug 1878803 [wpt PR 44412] - Move CORS logic from direct-from-seller-signals.py to fledge_http_server_util.py, a=testonly

Automatic update from web-platform-tests
Move CORS logic from direct-from-seller-signals.py to fledge_http_server_util.py

The CORS logic present in direct-from-seller-signals.py is identical to
that needed for other web platform tests. Moving this logic into a
common function available to the endpoints needed for those other web
platform tests prevents duplication. This change also attempts to match
the style of the Python test server in new and existing code.

Change-Id: Ia3db1e263e3e4b1e6b09bfa3408dd905a83ea44b
Bug: 40275797
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5269747
Commit-Queue: Orr Bernstein <orrb@google.com>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1256845}

--

wpt-commits: 516158d4bdc86c5de892cc75355841f478999b71
wpt-pr: 44412
testing/web-platform/tests/fledge/tentative/resources/direct-from-seller-signals.py
testing/web-platform/tests/fledge/tentative/resources/fledge_http_server_util.py
testing/web-platform/tests/fledge/tentative/resources/request-tracker.py
testing/web-platform/tests/fledge/tentative/resources/trusted-bidding-signals.py
testing/web-platform/tests/fledge/tentative/resources/trusted-scoring-signals.py