- From: richardPAG <notifications@github.com>
- Date: Mon, 18 Mar 2019 19:17:28 -0700
- To: w3c/payment-handler <payment-handler@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 19 March 2019 02:17:50 UTC
@rsolomakhin not sure if I'm being really stupid here or you're being incredibly terse? I put it to you that there is absolutely nothing in the [CanMakePaymentEvent](https://w3c.github.io/payment-handler/#handling-a-canmakepaymentevent) that requires it to execute in the context of a ServiceWorker. That Event could just as happily execute in the main UI thread. By saying "The broswer can fire" you seem to be implying that there is this may occur for reasons other than a user-driven payment request. If so, please specify. I think it would cut to the chase and save time if you could preface your answer with "You cannot do X in the main thread" or "ServiceWorkers are essential here to provide Y functionality". I know I'm being a bit thick here but I just keep hearing you saying "We need ServiceWorkers because we need to use Events and Javascript". -- 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/335#issuecomment-474171569
Received on Tuesday, 19 March 2019 02:17:50 UTC