Re: [w3c/payment-request] Clarify when the user can abort the payment request algorithm (#796)

> Should the spec acknowledge that some implementations might allow the user to abort in the midst of updating? 

I think it should... if it's the the reality of how things are implemented. 

> Should it allow an abort during details update, or suggest that implementors defer the abort until the details settle?

Chrome allows this... you can hit "esc" at any time I think, including during update and payment "processing". @rsolomakhin can you confirm that this is correct? I just tried in Canary, and that seems to be the case. 

Firefox right now doesn't allow the user to abort. The only option is for the user to hit the "Refresh" button to stop... but kills everything. @mnoorenberghe do you have some thoughts here? 

I'm inclined to say that the user can cancel at any time, the pending `showPromise`, `retryPromise`, or  `completePromise` rejects with an `AbortError`. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/issues/796#issuecomment-439771263

Received on Monday, 19 November 2018 04:52:47 UTC