[w3c/payment-handler] `requestPermission` is static in Web IDL but example is not (#198)

While working on implementing a polyfill for the API I noticed that the [spec](https://www.w3.org/TR/payment-handler/#paymentmanager-interface) indicates that the `requestPermission` call on the `PaymentManager` interface is `static`. However, the [example](https://www.w3.org/TR/payment-handler/#register-example) calls it on the service worker registration's `paymentManager` instance (rather than directly on the class).

Should the example be fixed or the Web IDL?

-- 
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-handler/issues/198

Received on Thursday, 3 August 2017 21:27:03 UTC