Closed Bug 2077018 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63145 - Add Payment Method Manifest WPTs for manifest validation and origins

Categories

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

task

Tracking

(firefox159 fixed)

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Stephen McGruer <smcgruer@chromium.org> wrote:

Add Payment Method Manifest WPTs for manifest validation and origins

Add Web Platform Tests covering Payment Method Manifest validation and
supported_origins parsing. Tests cover:

- Valid manifests omitting supported_origins or containing
  unrecognized members
- Invalid default_applications entries (non-string items,
  unparsable URLs) aborting manifest validation without fetching
  valid sibling web app manifests
- Multiple valid HTTPS origins (including explicit ports) in
  supported_origins
- Non-array supported_origins values (single origin string, wildcard
  "*", null) and empty array ([])
    - The empty array test fails in Chrome, as ParseSupportedOrigins
      does not currently reject empty lists - crbug.com/567692130
- Invalid supported_origins entries (non-string items, relative URLs,
  non-HTTPS origins, credentials, paths, queries, and fragments)

Bug: 552832440, 567692130
Change-Id: I514296d646507968d809c7d517050e0ef1c6e43e
Reviewed-on: https://chromium-review.googlesource.com/8464506
WPT-Export-Revision: 334e2c9140147409604acffb774fee0e3dc83cc5

PR 63145 applied with additional changes from upstream: 62d90b5ff1e7ac93c0e75bde48fd6ff66dadfda7

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 2 tests and 9 subtests

Status Summary

Firefox

OK : 2
FAIL : 22

Chrome

OK : 2
PASS : 21
FAIL : 1

Safari

FAIL : 6
TIMEOUT: 4
NOTRUN : 14

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /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-ingestion.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)
    • Web app manifest GET request omits credentials (cookies and authorization): FAIL (Chrome: PASS, Safari: NOTRUN)
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
You need to log in before you can comment on or make changes to this bug.