Re: [w3c/payment-handler] Remove PaymentRequestEvent and CanMakePaymentEvent from ServiceWorker Scope? (#304)

Let me clear my opinion in a little more details, I may totally wrong though.

Payment handler (service worker) only needs to listen for PaymentRequestEvent and CanMakePaymentEvent from browser. However, what I understand of 'Exposed=ServiceWorker' is about accessing constructor of these events. So, payment handler (service worker) does not need to construct them or we shouldn't allow it to construct these events.

-- 
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/304#issuecomment-392608887

Received on Monday, 28 May 2018 21:57:41 UTC