Closed Bug 1878803 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44412 - Move CORS logic from direct-from-seller-signals.py to fledge_http_server_util.py

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox124 fixed)

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 44412 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/44412
Details from upstream follow.

Orr Bernstein <orrb@google.com> wrote:

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 applies the
Python style guide to new and existing code.

Change-Id: Ia3db1e263e3e4b1e6b09bfa3408dd905a83ea44b
Bug: 40275797
Reviewed-on: https://chromium-review.googlesource.com/5269747
WPT-Export-Revision: 67e6a29044a2f6143575a3936143e004a92604f4

The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5a54dd6e31e8 [wpt PR 44412] - Move CORS logic from direct-from-seller-signals.py to fledge_http_server_util.py, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.