[w3c/payment-request] Add hasEnrolledInstrument() (#833)

closes #830 

The following tasks have been completed:

 * [ ] Confirmed there are no ReSpec errors/warnings.
 * [ ] Modified Web platform tests (link)
 * [ ] Modified MDN Docs (link)
 * [ ] Has undergone security/privacy review (link)
 
Implementation commitment:

 * [ ] Safari (link to issue)
 * [x] Chrome: https://crbug.com/915907
 * [x] Firefox (link to issue)
 * [ ] Edge (public signal)

Optional, impact on Payment Handler spec?
After this change, `CanMakePaymentEvent` will not be triggered on any payment handler when `canMakePayment()` runs. It will be triggered when `hasEnrolledInstrument()` runs.

You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/payment-request/pull/833

-- Commit Summary --

  * Add hasEnrolledInstrument()

-- File Changes --

    M index.html (133)

-- Patch Links --

https://github.com/w3c/payment-request/pull/833.patch
https://github.com/w3c/payment-request/pull/833.diff

-- 
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/833

Received on Friday, 8 February 2019 15:29:12 UTC