- From: Marcos Cáceres <notifications@github.com>
- Date: Tue, 12 Nov 2019 21:27:35 -0800
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 13 November 2019 05:27:36 UTC
marcoscaceres commented on this pull request.
> + follows:
+ </p>
+ <ol class="algorithm">
+ <li>Let |event:PaymentMethodChangeEvent| be this
+ {{PaymentMethodChangeEvent}} instance.
+ </li>
+ <li>If |event|'s {{ Event.isTrusted }} attribute is false, then
+ return <a>a promise rejected with</a> an {{"InvalidStateError"}}
+ {{DOMException}}.
+ </li>
+ <li>Let |request:PaymentRequest| be the value of |event|'s
+ [=Event/target=].
+ </li>
+ <li>Assert: |request| is an instance of {{PaymentRequest}}.
+ </li>
+ <li>If |request|.<a>[[\state]]</a> is not "<a>interactive</a>",
I need to chew on this a bit more too...
--
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/pull/873#discussion_r345574922
Received on Wednesday, 13 November 2019 05:27:36 UTC