Closed Bug 2069335 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62429 - Add Payment Method Manifest WPTs for fetch options and status codes

Categories

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

task

Tracking

(firefox158 fixed)

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Stephen McGruer <smcgruer@chromium.org> wrote:

Add Payment Method Manifest WPTs for fetch options and status codes

This adds tests covering Payment Method Manifest fetch options
(credentials omission and Referer header) and HTTP response status code
handling. Tests added:

- PMI HEAD request omits credentials (cookies and authorization)
- Manifest GET request omits credentials (cookies and authorization)
- Manifest GET request sets Referer header to match PMI URL
    - This test fails in Chrome, which is crbug.com/545843241
- HTTP 204 No Content response on initial PMI HEAD request succeeds
- HTTP 404 response on initial PMI HEAD request aborts manifest fetching
- HTTP 500 response on initial PMI HEAD request aborts manifest fetching

Bug: 552832440, 545843241
Change-Id: I8762c379aab36f272dcbf15feba270851a9fd856
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8328669
Commit-Queue: Stephen McGruer \<smcgruer@chromium.org>
Auto-Submit: Stephen McGruer \<smcgruer@chromium.org>
Reviewed-by: Xuehui Chen \<xuehuichen@google.com>
Commit-Queue: Xuehui Chen \<xuehuichen@google.com>
Cr-Commit-Position: refs/heads/main@{#1691947}

PR 62429 applied with additional changes from upstream: 1340fbf85348038db1e4fda2ea78929fdf7091f1

CI Results

Ran 7 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 9 tests and 1 subtests

Status Summary

Firefox

OK : 9
FAIL : 23

Chrome

OK : 9
PASS : 20
FAIL : 3

Safari

OK : 7
FAIL : 19
TIMEOUT: 4
NOTRUN : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.