Closed Bug 1728288 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 30255 - Fix bad payments test

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 30255 into mozilla-central (this bug is closed when the sync is complete).

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

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

Fix bad payments test

PR 30255 applied with additional changes from upstream: c0453ea15be63fc697bdbc141aa6837a1020b114
Component: web-platform-tests → DOM: Web Payments
Product: Testing → Core

CI Results

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

Total 1 tests and 5 subtests

Status Summary

Firefox

OK : 1
FAIL : 5

Chrome

TIMEOUT: 2
NOTRUN : 4

Safari

OK : 1
PASS : 1
FAIL : 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/payment-request/payment-request-show-method.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-qr-opt, Gecko-windows10-32-qr-debug, Gecko-windows10-32-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] (Chrome: TIMEOUT, Safari: OK)
Calling show() without being triggered by user interaction throws: FAIL (Chrome: TIMEOUT, Safari: PASS)
Throws if the promise [[state]] is not 'created'.: FAIL (Chrome: NOTRUN, 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: FAIL)
Calling show() multiple times always returns a new promise.: FAIL (Chrome: NOTRUN, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

/payment-request/payment-request-show-method.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-qr-opt, Gecko-windows10-32-qr-debug, Gecko-windows10-32-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] (Chrome: TIMEOUT, Safari: OK)

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