Closed Bug 1778745 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34739 - [SPC] Update tests for input parameter validation

Categories

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

task

Tracking

(firefox104 fixed)

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Stephen McGruer <smcgruer@chromium.org> wrote:

[SPC] Update tests for input parameter validation

See https://github.com/w3c/secure-payment-confirmation/pull/195

The following tests are new:

  • Empty ID within credentialIds field throws exception
  • Multiple IDs in credentialIds is valid
  • Empty instrument.displayName field throws exception
  • Empty instrument.icon field throws exception
  • Invalid instrument.icon URL throws exception
  • Invalid rpId field throws exception
  • Non-HTTPS payee origin throws exception

One timeout test was removed.

CI Results

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

Total 11 tests and 3 subtests

Status Summary

Firefox

OK : 11
FAIL: 40

Chrome

OK : 11
PASS: 38
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0bca5c64b5d0 [wpt PR 34739] - [SPC] Update tests for input parameter validation, a=testonly https://hg.mozilla.org/integration/autoland/rev/c93600602dcf [wpt PR 34739] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.