Automatic update from web-platform-tests Payment Handler: Add test for OperationError propagation (#59002) This change adds a new manual test to verify that if a web-based payment handler rejects the promise passed to respondWith with an OperationError, the original PaymentRequest.show() call also rejects with an OperationError. For other error types (like SyntaxError), show() should still reject with an AbortError. Spec: https://github.com/w3c/web-based-payment-handler/issues/428 -- wpt-commits: 5bc484399a7de139464d759716435537e368cc00 wpt-pr: 59002
16 lines
323 B
JSON
16 lines
323 B
JSON
{
|
|
"default_applications": ["payment-request-reject-errors-manifest.json"],
|
|
"name": "Reject Errors Payment Handler",
|
|
"icons": [
|
|
{
|
|
"src": "/images/rgrg-256x256.png",
|
|
"sizes": "256x256",
|
|
"type": "image/png"
|
|
}
|
|
],
|
|
"serviceworker": {
|
|
"src": "app-reject-errors.js",
|
|
"scope": "./"
|
|
}
|
|
}
|