New issue
Advanced search Search tips

Issue 766172 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug


Participants' hotlists:
Payment-Interop


Sign in to add a comment

If request.[[state]] is "closed", then return a promise rejected with an "InvalidStateError" DOMException.

Project Member Reported by rouslan@chromium.org, Sep 18 2017

Issue description

URL: https://w3c-test.org/payment-request/payment-request-canmakepayment-method.https.html

Description: If request.[[state]] is "closed", then return a promise rejected with an "InvalidStateError" DOMException.

Expected: After PaymentRequest.abort() resolves, PaymentRequest.canMakePayment() should reject with InvalidStateError.

Observed: Rejects with AbortError.

Code: https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp?rcl=1eafc9c10e7b7eb5590b3083ec594b99baaea9ae&l=885
 
Status: Fixed (was: Assigned)
Fixed elsewhere.

Sign in to add a comment