[wpt-sync] Sync PR 30023 - Fix some NotAllowedError --> SecurityError cases for PaymentRequest.show()
Categories
(Core :: DOM: Web Payments, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox93 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 30023 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/30023
Details from upstream follow.
b'Stephen McGruer <smcgruer@chromium.org>' wrote:
Fix some NotAllowedError --> SecurityError cases for PaymentRequest.show()
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=906c5af843dab5e3710e0c56f3fa15a29cd71e22
Assignee | ||
Comment 2•3 years ago
|
||
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
OK : 1
FAIL : 4
TIMEOUT: 1
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: OK, 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: FAIL, 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: FAIL, Safari: FAIL)
If payment method consultation produces no supported method of payment, then return a promise rejected with a "NotSupportedError" DOMException.: FAIL (Chrome: FAIL, Safari: FAIL)
Calling show() multiple times always returns a new promise.: FAIL (Chrome: FAIL, 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: OK, Safari: OK)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/61dcf8697495 [wpt PR 30023] - Fix some NotAllowedError --> SecurityError cases for PaymentRequest.show(), a=testonly
Comment 4•3 years ago
|
||
bugherder |
Description
•