Re: [w3c/payment-handler] Define requestPermission() behavior. (#180)

ianbjacobs commented on this pull request.



>        interface PaymentManager {
         [SameObject] readonly attribute PaymentInstruments instruments;
         [SameObject] readonly attribute PaymentWallets wallets;
-                              Promise<boolean>   requestPermission();
+        [Exposed=Window] static Promise<PermisionState> requestPermission();

Thanks @romandev, @rsolomakhin, and @dlongley!

@romandev, you deleted:
  " The user agent is NOT REQUIRED to prompt the user to grant  permission to the origin for each new supported payment method."

I think we still need that text.

-- 
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/pull/180#discussion_r123314135

Received on Wednesday, 21 June 2017 17:29:17 UTC