- From: Ade Bateman <notifications@github.com>
- Date: Mon, 20 Jun 2016 15:56:48 -0700
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
- Cc:
Received on Monday, 20 June 2016 22:57:20 UTC
Something like ``` if(PaymentRequest.prototype.hasOwnProperty("shippingAddress")) { // shipping address is supported } ``` You don't need to create an instance. The problem with having `supports()` methods is that they often don't provide the right granularity or web developers make mistakes that proliferate, which causes implementations to have to lie about support. We've seen this with such methods before. --- 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/browser-payment-api/issues/33#issuecomment-227294530
Received on Monday, 20 June 2016 22:57:20 UTC