Closed Bug 1727463 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 30165 - More fixes to payments tests

Categories

(Core :: DOM: Web Payments, task, P4)

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Marcos C\xc3\xa1ceres <marcos@marcosc.com>' wrote:

More fixes to payments tests

Component: web-platform-tests → DOM: Web Payments
Product: Testing → Core

CI Results

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

Total 2 tests and 1 subtests

Status Summary

Firefox

OK : 2
FAIL : 6

Chrome

TIMEOUT: 5
NOTRUN : 3

Safari

OK : 2
PASS : 3
FAIL : 3

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/payment-request/payment-request-show-method.https.html
Calling show() without being triggered by user interaction throws: FAIL (Chrome: TIMEOUT, Safari: PASS)
Throws if the promise [[state]] is not 'created'.: FAIL (Chrome: TIMEOUT, Safari: FAIL)
If the user agent's "payment request is showing" boolean is true, then return a promise rejected with an "AbortError" DOMException.: FAIL (Chrome: NOTRUN, Safari: FAIL)
If payment method consultation produces no supported method of payment, then return a promise rejected with a "NotSupportedError" DOMException.: FAIL (Chrome: NOTRUN, Safari: PASS)
Calling show() multiple times always returns a new promise.: FAIL (Chrome: NOTRUN, Safari: FAIL)
/payment-request/rejects_if_not_active.https.html
If a payment request is showing, but its document is navigated away (so no longer fully active), the payment sheet is dismissed.: FAIL (Chrome: TIMEOUT, Safari: PASS)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b982170b76e4
[wpt PR 30165] - More fixes to payments tests, a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.