Closed Bug 2079825 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63369 - Reorganize Payment Method Manifest WPT files by pipeline stage

Categories

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

task

Tracking

(firefox160 fixed)

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Stephen McGruer <smcgruer@chromium.org> wrote:

Reorganize Payment Method Manifest WPT files by pipeline stage

Align Payment Method Manifest Web Platform Test filenames and test
grouping with the specification pipeline stages (PMI, PMM, and WAM):

- Rename wam-ingestion.https.window.js to
  pmm-default-applications.https.window.js to reflect that it tests
  validation and parsing of the default_applications member of the
  Payment Method Manifest (parallel to
  pmm-supported-origins.https.window.js).
- Merge the non-HTTPS default_applications tests from
  wam-non-https.https.sub.window.js into
  pmm-default-applications.https.window.js (using get_host_info() and
  options.origin on createWebAppManifestUrl).
- Move the Web App Manifest credentials omission test into
  fetch-options.https.window.js alongside the PMI and PMM credentials
  omission tests.

Bug: 552832440
Change-Id: If86cac3bc67c4aa3e3dd0b84a718e72d8003541d
Reviewed-on: https://chromium-review.googlesource.com/8480645
WPT-Export-Revision: caf26fae064244e2ba04fc19e77b6bed17471373

Try push failed to land: Lando job 102442 for the try push is FAILED:
Aborting, could not apply patch buffer for None.
hg error in cmd: hg import -s 95 --no-commit /tmp/tmph23_9culdiff: applying /tmp/tmph23_9culdiff

abort: /tmp/tmph23_9culdiff: no diffs found

CI Results

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

Total 13 tests and 1 subtests

Status Summary

Firefox

OK : 13
FAIL : 50

Chrome

OK : 13
PASS : 48
FAIL : 2

Safari

OK : 8
FAIL : 28
TIMEOUT: 10
NOTRUN : 17

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]
    • Payment method identifier HEAD request omits credentials (cookies and authorization): FAIL (Chrome: PASS, Safari: FAIL)
    • Payment method manifest GET request omits credentials (cookies and authorization): FAIL (Chrome: PASS, Safari: FAIL)
    • Payment method manifest GET request sets Referer header to match PMI URL: FAIL (Chrome: FAIL, Safari: FAIL)
    • Web app manifest GET request omits credentials (cookies and authorization): FAIL (Chrome: PASS, Safari: TIMEOUT)
  • /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)
  • /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: PASS, 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)
  • /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)
  • /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 use the first one: FAIL (Chrome: PASS, Safari: NOTRUN)
  • /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)
  • /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)
  • /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)
  • /payment-method-manifest/pmm-default-applications.https.window.html [wpt.fyi]
    • Web app manifest fetching end-to-end success: FAIL (Chrome: PASS, Safari: FAIL)
    • Multiple default_applications web app manifests are fetched: FAIL (Chrome: PASS, Safari: FAIL)
    • Duplicate URLs in default_applications are deduplicated: FAIL (Chrome: PASS, Safari: FAIL)
    • Relative default_applications URL resolves against payment method manifest URL: FAIL (Chrome: PASS, Safari: TIMEOUT)
    • Unrecognized members in a payment method manifest are ignored: FAIL (Chrome: PASS, Safari: NOTRUN)
    • Payment method manifest with non-array default_applications fails parsing cleanly and does not fetch web app manifest: FAIL (Chrome: PASS, Safari: NOTRUN)
    • Non-string item in default_applications fails parsing cleanly and does not fetch web app manifest: FAIL (Chrome: PASS, Safari: NOTRUN)
    • Unparseable URL in default_applications fails parsing cleanly and does not fetch web app manifest: FAIL (Chrome: PASS, Safari: NOTRUN)
    • Non-HTTPS web app manifest URL in default_applications is not fetched: FAIL (Chrome: PASS, Safari: NOTRUN)
    • Non-HTTPS URL in default_applications fails entire manifest validation without fetching valid HTTPS web app manifest: FAIL (Chrome: PASS, Safari: NOTRUN)
  • /payment-method-manifest/pmm-http-status.https.window.html [wpt.fyi]
    • HTTP 404 response on Payment Method Manifest GET request aborts ingestion and does not fetch web app manifest: FAIL (Chrome: PASS, Safari: FAIL)
    • HTTP 500 response on Payment Method Manifest GET request aborts ingestion and does not fetch web app manifest: FAIL (Chrome: PASS, Safari: FAIL)
  • /payment-method-manifest/pmm-redirect-disallowed.https.window.html [wpt.fyi]
    • Manifest GET request with redirect aborts: FAIL (Chrome: PASS, Safari: FAIL)
  • /payment-method-manifest/pmm-supported-origins.https.window.html [wpt.fyi]
    • Multiple valid HTTPS origins in supported_origins are allowed: FAIL (Chrome: PASS, Safari: FAIL)
    • Omitting supported_origins is allowed: FAIL (Chrome: PASS, Safari: FAIL)
    • Non-array value for supported_origins fails validation: FAIL (Chrome: PASS, Safari: FAIL)
    • Wildcard "*" for supported_origins fails validation: FAIL (Chrome: PASS, Safari: TIMEOUT)
    • Null value for supported_origins fails validation: FAIL (Chrome: PASS, Safari: NOTRUN)
    • Empty array for supported_origins fails validation: FAIL (Chrome: FAIL, Safari: NOTRUN)
    • Non-string item in supported_origins fails validation: FAIL (Chrome: PASS, Safari: NOTRUN)
    • Relative URL in supported_origins fails validation: FAIL (Chrome: PASS, Safari: NOTRUN)
    • Non-HTTPS origin in supported_origins fails validation: FAIL (Chrome: PASS, Safari: NOTRUN)
    • Origin with username or password in supported_origins fails validation: FAIL (Chrome: PASS, Safari: NOTRUN)
    • Origin with path in supported_origins fails validation: FAIL (Chrome: PASS, Safari: NOTRUN)
    • Origin with query in supported_origins fails validation: FAIL (Chrome: PASS, Safari: NOTRUN)
    • Origin with fragment in supported_origins fails validation: FAIL (Chrome: PASS, Safari: NOTRUN)
  • /payment-method-manifest/wam-redirect-disallowed.https.window.html [wpt.fyi]
    • Web app manifest GET request with redirect aborts: FAIL (Chrome: PASS, Safari: FAIL)
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.