Closed Bug 2067671 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 62248 - Consolidate Payment Method Manifest WPT Link header tests

Categories

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

task

Tracking

(firefox157 fixed)

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Stephen McGruer <smcgruer@chromium.org> wrote:

Consolidate Payment Method Manifest WPT Link header tests

Consolidate the Link header test suite from 11 separate files down to 3
logically grouped files:

  • link-header-parsing.https.window.js: Groups RFC 8288 parsing rules
    including unquoted rel values, space-separated rel tokens, ASCII
    case insensitivity, additional parameters, comma-separated targets,
    and multiple Link header entries.
  • link-header-selection.https.window.js: Groups manifest selection
    rules including basic success, missing Link header, incorrect rel
    attribute, and duplicate manifest link aborts.
  • link-header-non-https.https.sub.window.js: Retained as a dedicated
    test for non-HTTPS manifest target rejection requiring multi-port
    substitution.

Also updates the Chromium test expectation baselines (-expected.txt)
for the consolidated files.

Bug: 552832440
Change-Id: Id71944f7fd3f0e6f12e5acfb204c3baa080de132
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8297921
Commit-Queue: Xuehui Chen \<xuehuichen@google.com>
Reviewed-by: Xuehui Chen \<xuehuichen@google.com>
Cr-Commit-Position: refs/heads/main@{#1687632}

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

CI Results

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

Total 2 tests and 5 subtests

Status Summary

Firefox

OK : 2
FAIL : 10

Chrome

OK : 2
PASS : 8
FAIL : 2

Safari

FAIL : 6
TIMEOUT: 4
NOTRUN : 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /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)
  • /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)
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/bfc0c583c344 https://hg.mozilla.org/integration/autoland/rev/b8765b00932d [wpt PR 62248] - Consolidate Payment Method Manifest WPT Link header tests, a=testonly
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch
You need to log in before you can comment on or make changes to this bug.