- From: Marcos Cáceres <notifications@github.com>
- Date: Mon, 27 Aug 2018 03:45:41 -0700
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 27 August 2018 10:46:03 UTC
marcoscaceres commented on this pull request. > + <li>Let <var>request</var> be <var>event</var>.<a data-lt= + "MVE.[[request]]">[[\request]]</a>. + </li> + <li>If <var>request</var>.<a>[[\state]]</a> is not + "<a>interactive</a>", then <a>throw</a> an + "<a>InvalidStateError</a>" <a>DOMException</a>. + </li> + <li>If <var>request</var>.<a>[[\updating]]</a> is true, then + <a>throw</a> an "<a>InvalidStateError</a>" <a>DOMException</a>. + </li> + <li>Set <var>event</var>'s <a>stop propagation flag</a> and <a>stop + immediate propagation flag</a>. + </li> + <li>Set <var>event</var>.<a>[[\waitForUpdate]]</a> to true. + </li> + <li>Run the <a>validate a merchant algorithm</a> with Oh crap. I went all circular (how embarrassing!)... this was supposed to: 1. disable the UI. 2. wait for wait for the promise to settle, "abort the update" is it rejects... 3. if it fulfills, then `value` needs to be cryptographically verified. 4. if it's the merchant is no good, abort the update. 5. if merchant is validated, enable the UI. -- 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/751#discussion_r212935604
Received on Monday, 27 August 2018 10:46:03 UTC