[wpt-sync] Sync PR 62429 - Add Payment Method Manifest WPTs for fetch options and status codes
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox158 fixed)
| 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 fetchingBug: 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}
| Assignee | ||
Comment 1•2 months ago
|
||
PR 62429 applied with additional changes from upstream: 1340fbf85348038db1e4fda2ea78929fdf7091f1
| Assignee | ||
Comment 2•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=1b882fbaebdf5897bb676f828923e442f855520f
| Assignee | ||
Comment 3•2 months ago
|
||
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
- /payment-method-manifest/fetch-options.https.window.html [wpt.fyi]
- PMI HEAD request omits credentials (cookies and authorization):
FAIL(Chrome:PASS, Safari:FAIL) - Manifest GET request omits credentials (cookies and authorization):
FAIL(Chrome:PASS, Safari:FAIL) - Manifest GET request sets Referer header to match PMI URL:
FAIL(Chrome:FAIL, Safari:FAIL)
- PMI HEAD request omits credentials (cookies and authorization):
- /payment-method-manifest/link-header-non-https.https.sub.window.html [wpt.fyi]
- Link header targeting non-HTTPS URL is aborted:
FAIL(Chrome:PASS, Safari:FAIL)
- Link header targeting non-HTTPS URL is aborted:
- /payment-method-manifest/link-header-parsing.https.window.html [wpt.fyi]
- Link header rel parameter supports unquoted values per RFC 8288:
FAIL(Chrome:PASS, Safari:FAIL) - Link header rel attribute supports space-separated relation tokens per RFC 8288:
FAIL(Chrome:PASS, Safari:FAIL) - Link header rel parameter matching is ASCII case-insensitive:
FAIL(Chrome:FAIL, Safari:FAIL) - Link header with additional parameters is parsed correctly:
FAIL(Chrome:PASS, Safari:TIMEOUT) - Link header with comma-separated targets correctly identifies payment-method-manifest link:
FAIL(Chrome:PASS, Safari:NOTRUN)
- Link header rel parameter supports unquoted values per RFC 8288:
- /payment-method-manifest/link-header-redirect-resolution.https.window.html [wpt.fyi]
- Relative Link header target is resolved against final post-redirect response URL:
FAIL(Chrome:PASS, Safari:FAIL)
- Relative Link header target is resolved against final post-redirect response URL:
- /payment-method-manifest/link-header-selection.https.window.html [wpt.fyi]
- Link header with payment-method-manifest rel successfully initiates manifest fetch:
FAIL(Chrome:PASS, Safari:FAIL) - Payment Method Manifest fetch fails if Link header is missing:
FAIL(Chrome:PASS, Safari:FAIL) - Link header with incorrect rel attribute is ignored:
FAIL(Chrome:PASS, Safari:FAIL) - Link header selecting payment-method-manifest link from multiple entries:
FAIL(Chrome:PASS, Safari:TIMEOUT) - Multiple rel="payment-method-manifest" link headers cause fetch to abort:
FAIL(Chrome:FAIL, Safari:NOTRUN)
- Link header with payment-method-manifest rel successfully initiates manifest fetch:
- /payment-method-manifest/pmi-http-status.https.window.html [wpt.fyi]
- HTTP 204 No Content response on initial PMI HEAD request succeeds:
FAIL(Chrome:PASS, Safari:FAIL) - HTTP 404 response on initial PMI HEAD request aborts manifest fetching:
FAIL(Chrome:PASS, Safari:FAIL) - HTTP 500 response on initial PMI HEAD request aborts manifest fetching:
FAIL(Chrome:PASS, Safari:FAIL)
- HTTP 204 No Content response on initial PMI HEAD request succeeds:
- /payment-method-manifest/pmi-redirect-limits.https.window.html [wpt.fyi]
- Up to 3 redirects for the Link header HEAD request are allowed:
FAIL(Chrome:PASS, Safari:FAIL) - More than 3 redirects for the Link header HEAD request is not allowed:
FAIL(Chrome:PASS, Safari:FAIL)
- Up to 3 redirects for the Link header HEAD request are allowed:
- /payment-method-manifest/pmi-redirect-origins.https.sub.window.html [wpt.fyi]
- Same-site cross-origin redirects on initial HEAD request are permitted:
FAIL(Chrome:PASS, Safari:FAIL) - Cross-site redirects on initial HEAD request are prohibited and abort fetch:
FAIL(Chrome:PASS, Safari:FAIL)
- Same-site cross-origin redirects on initial HEAD request are permitted:
- /payment-method-manifest/pmm-redirect-disallowed.https.window.html [wpt.fyi]
- Manifest GET request with redirect aborts:
FAIL(Chrome:PASS, Safari:FAIL)
- Manifest GET request with redirect aborts:
Comment 5•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/bd9615c97e1f
https://hg.mozilla.org/mozilla-central/rev/7ee2230aae3f
Description
•